[OE-core] [PATCH 1/1] linux-yocto/3.4: make uprobes select perf events

Richard Purdie richard.purdie at linuxfoundation.org
Fri Sep 14 08:58:19 UTC 2012


On Fri, 2012-09-14 at 00:57 -0400, Bruce Ashfield wrote:
> 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 at intel.com>
> Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
> ---
>  meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb |    6 +++---
>  meta/recipes-kernel/linux/linux-yocto_3.4.bb    |   14 +++++++-------
>  2 files changed, 10 insertions(+), 10 deletions(-)

Merged to master, thanks.

Richard





More information about the Openembedded-core mailing list