[PATCH 0/2] build the kernel tools -- perf

Andy Whitcroft apw at canonical.com
Thu Mar 4 13:35:03 UTC 2010


The kernel now includes kernel version locked tools, to start with the
perf tool.  These tools necessarily must be build in combination with the
kernel binaries.  This means that we will have more than one installed
at any one time, and we need to select the correct one at run time.

To this end we add the perf binary itself to the linus-image package
installed to /usr/bin/perf_<version> (/usr/bin/perf_2.6.32-15-generic).
We also add a new linux-tools package which is architecture independant
to carry a perf shell script which selects the appropriate binary based
on the running kernel.  Additionally as manual pages cannot be versioned
we include the manual pages in the linux-tools package, so we at least
have the latest manuals available.

-apw

Andy Whitcroft (2):
  UBUNTU: perf -- build the kernel carried tools
  UBUNTU: perf -- add linux-tools carrying the version switches and
    manuals

 debian.master/control.d/flavour-control.stub |    2 +-
 debian.master/control.stub.in                |   12 +++++++++++-
 debian/rules.d/0-common-vars.mk              |    7 +++++++
 debian/rules.d/1-maintainer.mk               |    1 +
 debian/rules.d/2-binary-arch.mk              |   17 +++++++++++++++++
 debian/rules.d/3-binary-indep.mk             |   25 +++++++++++++++++++++++++
 debian/tools/perf                            |    2 ++
 7 files changed, 64 insertions(+), 2 deletions(-)
 create mode 100644 debian/tools/perf





More information about the kernel-team mailing list