[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Getting the latest and greatest Linux perf features on every Debian kernel



Em Mon, Jan 10, 2022 at 12:54:31AM +0100, Ben Hutchings escreveu:
> On Sun, 2021-11-21 at 18:18 -0800, Ian Rogers wrote:
> > Hi,
> > 
> > I'd love to package Linux perf as per Arnaldo's prepared tarball for
> > Debian. If I could get help on the Debian side it would be great! The
> > actions that are needed are:
> > 
> > 1) package Arnaldo's tarball for Debian, presumably the build in the
> > sources for linux-perf-5.10 will be a good starting point. The package
> > will be linux-perf and replace the current metapackage of the same
> > name.
> 
> I don't think this buys us anything over building from the kernel tree
> (i.e. the linux source package), but will wait to see what Arnaldo
> says.

Building perf from the kernel sources is fine, but usually the kernel
packaging takes more time to be completed, more tests, etc and if
someone wants to move the perf tools side of things faster, then using
the tarball may be an option.

Another workflow using the tarball allows is to have different packagers
for the kernel and for the perf tools.

But either way is fine, its just a way to allow more ways to package
perf, to try the latest (or an older one) on an arbitrary kernel or
system with different versions of the libraries it links to.

- Arnaldo
 
> > 2) create an updated linux-base that removes /usr/bin/perf
> > 
> > 3) upload the updated linux-base and linux-perf packages for
> > maintainer approval to https://mentors.debian.net/
> 
> linux-base is maintained by the kernel team on salsa.debian.org, where
> you can send merge requests.  If linux-perf is to be a separate source
> package, I think it should be maintained in the same way.
> 
> > 4) some how get the previous Debian linux-perf-[45].* packages removed
> [...]
> 
> They will be removed from the Debian archive through a periodic
> cleanup.
> 
> Ben.
> 
> -- 
> Ben Hutchings
> I say we take off; nuke the site from orbit.
> It's the only way to be sure.


Reply to: