Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #69059 > unrolled thread

Building perf tool and packaging it into linux-tools

Started byAjoy Aswadhati <ajoy@uber.com>
First post2021-01-06 00:10 +0100
Last post2021-01-07 10:10 +0100
Articles 4 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Building perf tool and packaging it into linux-tools Ajoy Aswadhati <ajoy@uber.com> - 2021-01-06 00:10 +0100
    Re: Building perf tool and packaging it into linux-tools Ritesh Raj Sarraf <rrs@debian.org> - 2021-01-06 08:20 +0100
      Re: Building perf tool and packaging it into linux-tools Ajoy Aswadhati <ajoy@uber.com> - 2021-01-06 19:40 +0100
        Re: Building perf tool and packaging it into linux-tools Ritesh Raj Sarraf <rrs@debian.org> - 2021-01-07 10:10 +0100

#69059 — Building perf tool and packaging it into linux-tools

FromAjoy Aswadhati <ajoy@uber.com>
Date2021-01-06 00:10 +0100
SubjectBuilding perf tool and packaging it into linux-tools
Message-ID<Bu3CG-1vL-13@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi Team,

Can someone suggest the recommended way to build the "perf" tool and
package it into linux-tools*?

I have been using a modified version (done internally at Uber) provided in
this patch:
https://lists.debian.org/debian-kernel/2015/04/msg00013.html

This patch doesn't apply properly to newer Kernel releases.

Since this is a common requirement, I am wondering if there is an alternate
solution that does not require the above mentioned patch.

-- 
Thanks
-ajoy

[toc] | [next] | [standalone]


#69061

FromRitesh Raj Sarraf <rrs@debian.org>
Date2021-01-06 08:20 +0100
Message-ID<BubgR-6pd-7@gated-at.bofh.it>
In reply to#69059

[Multipart message — attachments visible in raw view] — view raw

On Tue, 2021-01-05 at 15:07 -0800, Ajoy Aswadhati wrote:
> Hi Team,
> 
> Can someone suggest the recommended way to build the "perf" tool and
> package it into linux-tools*?
> 

For the Debian shipped Linux kernel, there's the linux-perf package
which will pull in the proper linux-perf-$VERSION of the package for
the respective Linux kenrel.

> I have been using a modified version (done internally at Uber)
> provided in
> this patch:
> https://lists.debian.org/debian-kernel/2015/04/msg00013.html
> 
> This patch doesn't apply properly to newer Kernel releases.
> 
> Since this is a common requirement, I am wondering if there is an
> alternate
> solution that does not require the above mentioned patch.
> 

-- 
Given the large number of mailing lists I follow, I request you to CC
me in replies for quicker response

[toc] | [prev] | [next] | [standalone]


#69068

FromAjoy Aswadhati <ajoy@uber.com>
Date2021-01-06 19:40 +0100
Message-ID<BulSW-4nC-13@gated-at.bofh.it>
In reply to#69061

[Multipart message — attachments visible in raw view] — view raw

Hi Ritesh,

Thank you for your prompt response. I am building kernel 5.10, for Buster
which is not the default version that is shipped.
If you can send me pointers on how to build the linux-perf package that is
part of the official distribution that would be great.

Thanks
-ajoy


On Tue, Jan 5, 2021 at 11:17 PM Ritesh Raj Sarraf <rrs@debian.org> wrote:

> On Tue, 2021-01-05 at 15:07 -0800, Ajoy Aswadhati wrote:
> > Hi Team,
> >
> > Can someone suggest the recommended way to build the "perf" tool and
> > package it into linux-tools*?
> >
>
> For the Debian shipped Linux kernel, there's the linux-perf package
> which will pull in the proper linux-perf-$VERSION of the package for
> the respective Linux kenrel.
>
> > I have been using a modified version (done internally at Uber)
> > provided in
> > this patch:
> > https://lists.debian.org/debian-kernel/2015/04/msg00013.html
> >
> > This patch doesn't apply properly to newer Kernel releases.
> >
> > Since this is a common requirement, I am wondering if there is an
> > alternate
> > solution that does not require the above mentioned patch.
> >
>
> --
> Given the large number of mailing lists I follow, I request you to CC
> me in replies for quicker response
>


-- 
Thanks
-ajoy

[toc] | [prev] | [next] | [standalone]


#69072

FromRitesh Raj Sarraf <rrs@debian.org>
Date2021-01-07 10:10 +0100
Message-ID<BuzsS-4A8-17@gated-at.bofh.it>
In reply to#69068

[Multipart message — attachments visible in raw view] — view raw

On Wed, 2021-01-06 at 10:29 -0800, Ajoy Aswadhati wrote:
> Hi Ritesh,
> 
> Thank you for your prompt response. I am building kernel 5.10, for
> Buster which is not the default version that is shipped.
> If you can send me pointers on how to build the linux-perf package
> that is part of the official distribution that would be great.

There's the fine documentation, Debian Kernel Handbook.
https://www.debian.org/doc/manuals/debian-kernel-handbook/

It is also available as a package in Debian. Have a look at it. And
like any other package, feel free to enhance it by sending bug reports,
bug fixes and new docuemnt sections.

Thanks,
Ritesh

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web