Bug 156

Summary: Oprofile not supported by the kernel
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Lianhao Lu <lianhao.lu>
Component: meta-yoctoAssignee: Bruce Ashfield <bruce.ashfield>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: Medium CC: dexuan.cui, jessica.zhang, kevin.tian, liping.ke, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 0.9 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description Lianhao Lu 2010-07-28 18:40:52 UTC
In the master change set ab37f53, with the image built by poky-image-sdk(MACHINE=qemux86), the oprofile can not be initialized, which prevents the oprofile-server to be functional.

When running "opcontrol --init", it reported
modprobe: module oprofile not found in modules.dep
Kernel doesn't support oprofile
Comment 1 Dexuan Cui 2010-07-28 19:53:43 UTC
I'll look into it
Comment 2 Bruce Ashfield 2010-08-05 15:07:04 UTC
I pushed a set of default oprofile options to the windriver kernel
repo. 

Until we get the multi-srcrev code working, you'll need to explicitly
remove your clone of the windriver Linux kernel in sources and
sources/git to see the changes.

These have been configure and compile, but not runtime tested at
this point.  Return the bug, if there are still issues with this.
Comment 3 Lianhao Lu 2010-09-02 02:07:59 UTC
Verified in M3. Running "opcontrol --init" now succeeds.