]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto/3.4: make uprobes select perf events
authorBruce Ashfield <bruce.ashfield@windriver.com>
Fri, 14 Sep 2012 04:57:27 +0000 (00:57 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Sep 2012 08:49:56 +0000 (09:49 +0100)
commitb681b74624d1c8c4c98b2a121828e010fc5c3a25
treee3889b4fb0d4dd218470fe0deb14057635693b3c
parenta9fffadec4fb60547257cb3d7496b6e39ed07be8
linux-yocto/3.4: make uprobes select perf events

uprobes depends on functionality provided by perf events. After
uprobes was enabled in the standard kernel the mpc8315 board showed
link errors due to missing perf event functions.

This problem isn't isolated to the board or powerpc arch, but all
other boards have PERF_EVENTS enabled. To fix this, we make UPROBE_EVENT
select PERF_EVENTS, and any new boards will be protected from the
same failure.

We also update the configuration fragments since CONFIG_UPROBES depends on
CONFIG_PERF_EVENTS being set, so PERF_EVENTS needs to be added whenever
uprobes are enabled.

[YOCTO #3111]

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb
meta/recipes-kernel/linux/linux-yocto_3.4.bb