diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2012-09-14 00:57:27 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-14 09:50:31 +0100 |
commit | ffc3b5ded372bdebcb610b7aac91ff56cabeddce (patch) | |
tree | d6594676d0bbad1f5634de5518e61143e159f745 | |
parent | db82b42cdde211c67e7affb9da3b20b2514a714a (diff) | |
download | poky-ffc3b5ded372bdebcb610b7aac91ff56cabeddce.tar.gz |
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]
(From OE-Core rev: b681b74624d1c8c4c98b2a121828e010fc5c3a25)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_3.4.bb | 6 | ||||
-rw-r--r-- | 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 3b6b4e7ff1..e42216bc9f 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" | |||
8 | 8 | ||
9 | KMETA = "meta" | 9 | KMETA = "meta" |
10 | 10 | ||
11 | SRCREV_machine ?= "a35693b1287c0e50cdca33a1b95af0ff48b43cd0" | 11 | SRCREV_machine ?= "dcecefa43e05f5450886648a93e2fda2ec35e2dc" |
12 | SRCREV_machine_qemuppc ?= "85a1190530cb5749f5f831670976b163438dc301" | 12 | SRCREV_machine_qemuppc ?= "5e8709c4777f07a12b0a05a22f0864f552ef9449" |
13 | SRCREV_meta ?= "79947f1eb9f695c374ba63672f94deaa1de75561" | 13 | SRCREV_meta ?= "7c50e572635d356f0b66d9ab90823f127f835744" |
14 | 14 | ||
15 | PR = "${INC_PR}.0" | 15 | PR = "${INC_PR}.0" |
16 | PV = "${LINUX_VERSION}+git${SRCPV}" | 16 | 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 0812cffa74..7c082e75ad 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 | |||
3 | KBRANCH_DEFAULT = "standard/base" | 3 | KBRANCH_DEFAULT = "standard/base" |
4 | KBRANCH = "${KBRANCH_DEFAULT}" | 4 | KBRANCH = "${KBRANCH_DEFAULT}" |
5 | 5 | ||
6 | SRCREV_machine_qemuarm ?= "b15e7b1e9b58b9863bd87778775f86cd8d8880ea" | 6 | SRCREV_machine_qemuarm ?= "679978b4fd1ef8cfea97d4ee4b4cd7c51bc62ee2" |
7 | SRCREV_machine_qemumips ?= "8d5b98f263b5119af2dc30223f311be17173bab9" | 7 | SRCREV_machine_qemumips ?= "9c7810609ff37a77e8d39680f98f1baefee18a80" |
8 | SRCREV_machine_qemuppc ?= "b9a720ca38d298ed457f37d099c85771f9164b19" | 8 | SRCREV_machine_qemuppc ?= "cf4bad14983753ad4b592c40fb36466b202b24a4" |
9 | SRCREV_machine_qemux86 ?= "46d8c757b3be1953f30d6745505d24436e2d6844" | 9 | SRCREV_machine_qemux86 ?= "59c3ff750831338d05ab67d5efd7fc101c451aff" |
10 | SRCREV_machine_qemux86-64 ?= "46d8c757b3be1953f30d6745505d24436e2d6844" | 10 | SRCREV_machine_qemux86-64 ?= "59c3ff750831338d05ab67d5efd7fc101c451aff" |
11 | SRCREV_machine ?= "46d8c757b3be1953f30d6745505d24436e2d6844" | 11 | SRCREV_machine ?= "59c3ff750831338d05ab67d5efd7fc101c451aff" |
12 | SRCREV_meta ?= "79947f1eb9f695c374ba63672f94deaa1de75561" | 12 | SRCREV_meta ?= "7c50e572635d356f0b66d9ab90823f127f835744" |
13 | 13 | ||
14 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" | 14 | SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" |
15 | 15 | ||