Bug 859 - CONFIG_LATENCYTOP missed for qemux86-64
Summary: CONFIG_LATENCYTOP missed for qemux86-64
Status: VERIFIED FIXED
Alias: None
Product: Kernel
Classification: Yocto Project Subprojects
Component: kernel-configuration (show other bugs)
Version: 1.0
Hardware: x86 x86_64
: Medium normal
Target Milestone: 1.1
Assignee: Bruce Ashfield
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-03-12 16:28 UTC by Jessica
Modified: 2011-05-02 19:32 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jessica 2011-03-12 16:28:53 UTC
when testing latency top against qemux86-64, found the following error:

Please enable the CONFIG_LATENCYTOP configuration in your kernel
Comment 1 Jessica 2011-03-14 15:28:13 UTC
OE Build Configuration:
BB_VERSION        = "1.11.0"
METADATA_BRANCH   = "bernard"
METADATA_REVISION = "a33a2cc024f9c9147c92c5da70d8fbb631b968f9"
TARGET_ARCH       = "x86_64"
TARGET_OS         = "linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "0.9+snapshot-20110314"
TARGET_FPU        = ""
Comment 2 Darren Hart 2011-03-14 15:55:27 UTC
Missing

include features/latencytop/latencytop.scc

from common-pc-64.scc

We'll have to add a config fragment for now.
Comment 3 Darren Hart 2011-03-14 16:55:50 UTC
Temp fix until Bruce can commit to linux-yocto.

http://git.pokylinux.org/cgit.cgi/poky-contrib/commit/?h=dvhart/kernel&id=cc3e525fdb480d6b86637afa7b4c8d947d32304b
Comment 4 Saul Wold 2011-03-14 18:40:15 UTC
Fixed in Bernard and Master

http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=50bb373d1b3956cd4877752d3811e45a93ac2e33

Reopened for 1.1
Comment 5 Bruce Ashfield 2011-03-25 07:01:17 UTC
patches have been merged into 2.6.37 kernel tree. pushed out shortly.
Comment 6 Bruce Ashfield 2011-04-28 12:25:28 UTC
marking as resolved. this is now in the tree and verified to work.
Comment 7 Darren Hart 2011-04-28 14:54:36 UTC
We need to revert cc3e525fdb480d6b86637afa7b4c8d947d32304b then. Bruce, did you test this way?
Comment 8 Bruce Ashfield 2011-04-28 19:14:57 UTC
I just built and ran sched top. I'm showing  cc3e525fdb480d6b86637afa7b4c8d947d32304b
as a bad object. What repo is that from ?
Comment 9 Darren Hart 2011-04-28 20:43:51 UTC
(In reply to comment #8)
> I just built and ran sched top. I'm showing 
> cc3e525fdb480d6b86637afa7b4c8d947d32304b
> as a bad object. What repo is that from ?

Sorry, that wasn't clear. cc3e525fdb480d6b86637afa7b4c8d947d32304b is in poky.git, where I temporarily added the features to the recipe until you could make the final change to the kernel repository.


diff --git a/meta/recipes-kernel/linux/linux-yocto_git.bb b/meta/recipes-kernel/
index 38fbba3..f35d1a2 100644
--- a/meta/recipes-kernel/linux/linux-yocto_git.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_git.bb

...

+# Temporary fix for oprofile and latencytop on qemux86-64
+KERNEL_FEATURES_append_qemux86-64=" features/profiling"
+KERNEL_FEATURES_append_qemux86-64=" features/latencytop"
+
Comment 10 Bruce Ashfield 2011-04-28 21:26:20 UTC
Should be gone in master, unless I'm missing something:


commit cddd8821e12981f6d1d49e5a65eddfca56fc8105
Author: Bruce Ashfield <bruce.ashfield@windriver.com>
Date:   Thu Mar 24 16:27:10 2011 -0400

    linux-yocto/qemux86-64: enable profiling and latency
    
    The configuration chunks for profiling and latency top have
    been enabled in tree now, so we can drop optional feature
    additions in the recipe itself.
    
    build tests show identical configurations.
    
    (From OE-Core rev: 0f69382ac1eea1dea05581c29cf66e3214f0bd74)
    
    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

:100644 100644 f35d1a2... 38fbba3... M  meta/recipes-kernel/linux/linux-yocto_git.bb
Comment 11 Darren Hart 2011-04-28 21:47:25 UTC
OK, great. Ready to be "verified".
Comment 12 Jessica 2011-05-02 19:32:46 UTC
verfied the kernel fix