]> code.ossystems Code Review - openembedded-core.git/commit
oprofile: backport patches to fix ppc build issues
authorMatthew McClintock <msm@freescale.com>
Thu, 17 Jan 2013 20:23:23 +0000 (20:23 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Jan 2013 10:20:21 +0000 (10:20 +0000)
commit121cb96964fe2f374d814bf39036119bd63b9589
tree7c5b6238b3711c32fbd041d82fa858c9bac1fadd
parent5480371d0473482437ce4350e6593f006101ef40
oprofile: backport patches to fix ppc build issues

Fixes:

| operf_utils.cpp: In function 'bool _op_get_event_codes(std::vector*)':
| operf_utils.cpp:151:21: error: 'pfm_initialize' was not declared in this scope
| operf_utils.cpp:151:26: error: 'PFM_SUCCESS' was not declared in this scope
| operf_utils.cpp:166:45: error: 'PFM_PLM3' was not declared in this scope
| operf_utils.cpp:166:55: error: 'PFM_OS_NONE' was not declared in this scope
| operf_utils.cpp:166:72: error: 'pfm_get_os_event_encoding' was not declared in this scope
| operf_utils.cpp:167:14: error: 'PFM_SUCCESS' was not declared in this scope

[YOCTO #3717]

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/oprofile/oprofile/0001-Change-configure-to-look-for-libpfm4-function-first-.patch [new file with mode: 0644]
meta/recipes-kernel/oprofile/oprofile/0001-Fix-up-configure-to-handle-architectures-that-do-not.patch [new file with mode: 0644]
meta/recipes-kernel/oprofile/oprofile/0001-Handle-early-perf_events-kernel-without-PERF_RECORD_.patch [new file with mode: 0644]
meta/recipes-kernel/oprofile/oprofile/0001-OProfile-doesn-t-build-for-32-bit-ppc-the-operf_util.patch [new file with mode: 0644]
meta/recipes-kernel/oprofile/oprofile_0.9.8.bb