| Submitter | tom.zanussi@linux.intel.com |
|---|---|
| Date | Feb. 27, 2013, 3 p.m. |
| Message ID | <cover.1361976853.git.tom.zanussi@linux.intel.com> |
| Download | mbox |
| Permalink | /patch/45217/ |
| State | New |
| Headers | show |
Pull-request
git://git.yoctoproject.org/poky-contrib.git tzanussi/perf-trace-v1Comments
On Wed, Feb 27, 2013 at 10:00 AM, <tom.zanussi@linux.intel.com> wrote: > From: Tom Zanussi <tom.zanussi@linux.intel.com> > > 'perf-trace' is a new perf subcommand available in the 3.8 kernel - > this patchset enables it. 'perf trace' requires libaudit, which > is added as a new recipe. (I'm just getting used to this workflow, so sorry if I've messed something up on my end) When I try to build with just the following added to my conf/local.conf IMAGE_INSTALL_append = " perf" I get the following error: Build Configuration: BB_VERSION = "1.17.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "SUSE-LINUX-12.2" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.3+snapshot-20130227" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "tzanussi/perf-trace-v1:9f91a3a29701218dd756380ebcd2a1a32ad40615" Computing transaction...error: Can't install perf-3.4-r9@qemux86: no package provides /bin/bash ERROR: Function failed: do_rootfs
On Wed, Feb 27, 2013 at 10:00 AM, <tom.zanussi@linux.intel.com> wrote: > 'perf-trace' is a new perf subcommand available in the 3.8 kernel - > this patchset enables it. Out of curiosity, from where can I find the recipe(s) for a 3.8 kernel? My meta/recipes-kernel/linux/ only includes: linux-dummy.bb linux-yocto-dev.bb linux-yocto-rt_3.0.bb linux-yocto-rt_3.2.bb linux-yocto-rt_3.4.bb linux-yocto-tiny_3.2.bb linux-yocto-tiny_3.4.bb linux-yocto_3.0.bb linux-yocto_3.2.bb linux-yocto_3.4.bb
On Wed, Feb 27, 2013 at 1:12 PM, Tom Zanussi
<tom.zanussi@linux.intel.com> wrote:
> Which image are you building? I'm guessing core-image-minimal?
Yes.
On Wed, 2013-02-27 at 13:00 -0500, Trevor Woerner wrote: > On Wed, Feb 27, 2013 at 10:00 AM, <tom.zanussi@linux.intel.com> wrote: > > From: Tom Zanussi <tom.zanussi@linux.intel.com> > > > > 'perf-trace' is a new perf subcommand available in the 3.8 kernel - > > this patchset enables it. 'perf trace' requires libaudit, which > > is added as a new recipe. > > (I'm just getting used to this workflow, so sorry if I've messed > something up on my end) > > When I try to build with just the following added to my conf/local.conf > > IMAGE_INSTALL_append = " perf" > > I get the following error: > > Build Configuration: > BB_VERSION = "1.17.1" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "SUSE-LINUX-12.2" > TARGET_SYS = "i586-poky-linux" > MACHINE = "qemux86" > DISTRO = "poky" > DISTRO_VERSION = "1.3+snapshot-20130227" > TUNE_FEATURES = "m32 i586" > TARGET_FPU = "" > meta > meta-yocto > meta-yocto-bsp = > "tzanussi/perf-trace-v1:9f91a3a29701218dd756380ebcd2a1a32ad40615" > > Computing transaction...error: Can't install perf-3.4-r9@qemux86: no > package provides /bin/bash > ERROR: Function failed: do_rootfs > Hmm, I didn't realize perf required 'bash' to build. I always build core-image-sato with tools-profile or the sdk image, and haven't seen this. Which image are you building? I'm guessing core-image-minimal? I think if perf doesn't build without bash, it should be considered a bug - core-image-minimal should be able to use perf. Tom > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
On Wed, 2013-02-27 at 13:10 -0500, Trevor Woerner wrote: > On Wed, Feb 27, 2013 at 10:00 AM, <tom.zanussi@linux.intel.com> wrote: > > 'perf-trace' is a new perf subcommand available in the 3.8 kernel - > > this patchset enables it. > > Out of curiosity, from where can I find the recipe(s) for a 3.8 kernel? > > My meta/recipes-kernel/linux/ only includes: > linux-dummy.bb > linux-yocto-dev.bb > linux-yocto-rt_3.0.bb > linux-yocto-rt_3.2.bb > linux-yocto-rt_3.4.bb > linux-yocto-tiny_3.2.bb > linux-yocto-tiny_3.4.bb > linux-yocto_3.0.bb > linux-yocto_3.2.bb > linux-yocto_3.4.bb > The 3.8 kernel recipes were posted last night and haven't been merged yet, so you'd have to apply them yourself.. Tom > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
From: Tom Zanussi <tom.zanussi@linux.intel.com> 'perf-trace' is a new perf subcommand available in the 3.8 kernel - this patchset enables it. 'perf trace' requires libaudit, which is added as a new recipe. Build-tested on all arches and run-tested on all that would boot at the time, including real hardware such as crownbay. Build-tested with 3.4 kernel as well. The following changes since commit d7b248e715d99766bf8602ff9f038f8b0afa5e78: augeas: change SRC_URI (2013-02-26 08:02:29 -0800) are available in the git repository at: git://git.yoctoproject.org/poky-contrib.git tzanussi/perf-trace-v1 http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/perf-trace-v1 Tom Zanussi (3): libaudit: new package perf: add perf-trace feature perf: enable perf-trace feature meta/recipes-kernel/perf/perf.inc | 3 +- meta/recipes-kernel/perf/perf_3.4.bb | 7 +- .../libaudit/libaudit/build-lib-only.patch | 33 ++ .../libaudit/libaudit/fix-host-gen.patch | 461 +++++++++++++++++++++ meta/recipes-support/libaudit/libaudit_2.2.2.bb | 25 ++ 5 files changed, 526 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-support/libaudit/libaudit/build-lib-only.patch create mode 100644 meta/recipes-support/libaudit/libaudit/fix-host-gen.patch create mode 100644 meta/recipes-support/libaudit/libaudit_2.2.2.bb