FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 03-04-2010, 12:35 PM
Andy Whitcroft
 
Default build the kernel tools -- perf

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


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 03-04-2010, 12:54 PM
Tim Gardner
 
Default build the kernel tools -- perf

On 03/04/2010 06:35 AM, Andy Whitcroft wrote:
> 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
>
>

Looks good.

--
Tim Gardner tim.gardner@canonical.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 03-04-2010, 04:39 PM
Andy Whitcroft
 
Default build the kernel tools -- perf

Applied to Lucid.

-apw

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 05:08 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org