Bug 1552

Summary: Tracing: create separate recipe for perf
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Richard Purdie <richard.purdie>
Component: meta-yoctoAssignee: Bruce Ashfield <bruce.ashfield>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: dvhart, jessica.zhang, josh, laurentiu.serban, poky.bs.watcher, poky.watcher, radu.moisan, sgw, song.liu
Version: unspecified   
Target Milestone: 1.3 M2   
Hardware: x86   
OS: Multiple   
Whiteboard: (P2)(Scheduled)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Richard Purdie 2011-10-03 06:28:39 UTC
Perf is currently built as part of the kernel build. If we want to make use of everything perf has to offer we should get rid of the dependency. For example, the kernel build shouldn\'t depend on libnewt, and x32 shouldn\'t have to deal with embedded Python
Comment 1 Tom Zanussi 2011-10-06 11:44:22 UTC
Perf is currently built as part of the kernel recipe.  Perf really wants to use libnewt, libslang, embedded Python, embedded Perl, etc.  That ends up in a ridiculous situation where the kernel depends on e.g. libnewt. It also apparently causes problems for x32 enablement. So, making perf a separate recipe seems to make sense.
Comment 2 Joshua Lock - Disabled 2012-01-18 11:45:50 UTC
perf is also causing issues for non-gplv3 builds since I added binutils to the DEPENDS, see bug #1880.

I think the best resolution to bug 1880 is to move perf to a separate recipe in the 1.2 time frame.

Thoughts?
Comment 3 Darren Hart 2012-01-18 12:15:11 UTC
It really just comes down to time. If someone else is available with the cycles to come up with a patch, then we're all for getting it done in time for 1.2.
Comment 4 Bruce Ashfield 2012-06-14 20:27:14 UTC
This is nearly done. Patches are prep'd and will be submitted soon.
Comment 5 Bruce Ashfield 2012-06-21 22:47:02 UTC
yocto commit: 6b9c19140cd3c75c9862b22febb17af59930d865
Comment 6 Laurentiu Serban 2012-07-08 21:44:12 UTC
Verified in 
master revision b0510e547ebcac5548b36df66ad907f7911d33d5