[oe-commits] Matthew McClintock : oprofile: backport patches to fix ppc build issues

git at git.openembedded.org git at git.openembedded.org
Mon Jan 21 10:25:44 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 121cb96964fe2f374d814bf39036119bd63b9589
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=121cb96964fe2f374d814bf39036119bd63b9589

Author: Matthew McClintock <msm at freescale.com>
Date:   Thu Jan 17 20:23:23 2013 +0000

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 at freescale.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 ...igure-to-look-for-libpfm4-function-first-.patch |   49 ++++++
 ...igure-to-handle-architectures-that-do-not.patch |  163 ++++++++++++++++++++
 ...y-perf_events-kernel-without-PERF_RECORD_.patch |  107 +++++++++++++
 ...esn-t-build-for-32-bit-ppc-the-operf_util.patch |   32 ++++
 meta/recipes-kernel/oprofile/oprofile_0.9.8.bb     |    8 +-
 5 files changed, 357 insertions(+), 2 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=121cb96964fe2f374d814bf39036119bd63b9589




More information about the Openembedded-commits mailing list