* [PATCH 0/1] linux-yocto/3.4: make uprobes select perf events
@ 2012-09-14 4:57 Bruce Ashfield
2012-09-14 4:57 ` [PATCH 1/1] " Bruce Ashfield
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ashfield @ 2012-09-14 4:57 UTC (permalink / raw)
To: richard.purdie; +Cc: openembedded-core
Richard/Saul,
This update addresses YOCTO #3111, which is a build a failure on the mpc8315
after uprobes was enabled.
We ended up fixing this twice (but both are good fixes), there's a kernel
Kconfig fix from me and a kernel configuration fix by TomZ. Both fix the
problem for the board showing the build error and have no impact on the other
(already building) boards.
cc: Tom Zanussi <tom.zanussi@intel.com>
Cheers,
Bruce
The following changes since commit 1d5e637e32e10d7dabd19fbff9f4b25cc280daa2:
linux-yocto: virtio and KVM guest configuration (2012-09-13 15:04:32 -0400)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib zedd/uprobes
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/uprobes
Bruce Ashfield (1):
linux-yocto/3.4: make uprobes select perf events
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(-)
--
1.7.5.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] linux-yocto/3.4: make uprobes select perf events
2012-09-14 4:57 [PATCH 0/1] linux-yocto/3.4: make uprobes select perf events Bruce Ashfield
@ 2012-09-14 4:57 ` Bruce Ashfield
2012-09-14 8:58 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ashfield @ 2012-09-14 4:57 UTC (permalink / raw)
To: richard.purdie; +Cc: openembedded-core
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>
---
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(-)
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb
index 3b6b4e7..e42216b 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb
@@ -8,9 +8,9 @@ LINUX_KERNEL_TYPE = "preempt-rt"
KMETA = "meta"
-SRCREV_machine ?= "a35693b1287c0e50cdca33a1b95af0ff48b43cd0"
-SRCREV_machine_qemuppc ?= "85a1190530cb5749f5f831670976b163438dc301"
-SRCREV_meta ?= "79947f1eb9f695c374ba63672f94deaa1de75561"
+SRCREV_machine ?= "dcecefa43e05f5450886648a93e2fda2ec35e2dc"
+SRCREV_machine_qemuppc ?= "5e8709c4777f07a12b0a05a22f0864f552ef9449"
+SRCREV_meta ?= "7c50e572635d356f0b66d9ab90823f127f835744"
PR = "${INC_PR}.0"
PV = "${LINUX_VERSION}+git${SRCPV}"
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.4.bb b/meta/recipes-kernel/linux/linux-yocto_3.4.bb
index 0812cff..7c082e7 100644
--- a/meta/recipes-kernel/linux/linux-yocto_3.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_3.4.bb
@@ -3,13 +3,13 @@ require recipes-kernel/linux/linux-yocto.inc
KBRANCH_DEFAULT = "standard/base"
KBRANCH = "${KBRANCH_DEFAULT}"
-SRCREV_machine_qemuarm ?= "b15e7b1e9b58b9863bd87778775f86cd8d8880ea"
-SRCREV_machine_qemumips ?= "8d5b98f263b5119af2dc30223f311be17173bab9"
-SRCREV_machine_qemuppc ?= "b9a720ca38d298ed457f37d099c85771f9164b19"
-SRCREV_machine_qemux86 ?= "46d8c757b3be1953f30d6745505d24436e2d6844"
-SRCREV_machine_qemux86-64 ?= "46d8c757b3be1953f30d6745505d24436e2d6844"
-SRCREV_machine ?= "46d8c757b3be1953f30d6745505d24436e2d6844"
-SRCREV_meta ?= "79947f1eb9f695c374ba63672f94deaa1de75561"
+SRCREV_machine_qemuarm ?= "679978b4fd1ef8cfea97d4ee4b4cd7c51bc62ee2"
+SRCREV_machine_qemumips ?= "9c7810609ff37a77e8d39680f98f1baefee18a80"
+SRCREV_machine_qemuppc ?= "cf4bad14983753ad4b592c40fb36466b202b24a4"
+SRCREV_machine_qemux86 ?= "59c3ff750831338d05ab67d5efd7fc101c451aff"
+SRCREV_machine_qemux86-64 ?= "59c3ff750831338d05ab67d5efd7fc101c451aff"
+SRCREV_machine ?= "59c3ff750831338d05ab67d5efd7fc101c451aff"
+SRCREV_meta ?= "7c50e572635d356f0b66d9ab90823f127f835744"
SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
--
1.7.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] linux-yocto/3.4: make uprobes select perf events
2012-09-14 4:57 ` [PATCH 1/1] " Bruce Ashfield
@ 2012-09-14 8:58 ` Richard Purdie
0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2012-09-14 8:58 UTC (permalink / raw)
To: Bruce Ashfield; +Cc: openembedded-core
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@intel.com>
> Signed-off-by: Bruce Ashfield <bruce.ashfield@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-09-14 9:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-14 4:57 [PATCH 0/1] linux-yocto/3.4: make uprobes select perf events Bruce Ashfield
2012-09-14 4:57 ` [PATCH 1/1] " Bruce Ashfield
2012-09-14 8:58 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.