Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
oprofile
oprofile-pfm-ppc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File oprofile-pfm-ppc.patch of Package oprofile
From: Tony Jones <tonyj@suse.de> Subject: enable pfm detection for 32bit ppc Upstream: no --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/configure.ac +++ b/configure.ac @@ -104,7 +104,7 @@ AC_DEFINE_UNQUOTED(HAVE_PERF_EVENTS, $HA if test "$HAVE_PERF_EVENTS" = "1"; then PFM_LIB= arch="`uname -m`" - if test "$arch" = "ppc64"; then + if test "$arch" = "ppc64" || test "$arch" = "ppc"; then AC_CHECK_HEADER(perfmon/pfmlib.h,,[AC_MSG_ERROR([pfmlib.h not found; usually provided in papi devel package])]) AC_CHECK_LIB(pfm,pfm_get_event_name, HAVE_LIBPFM3='1'; HAVE_LIBPFM='1', [ AC_CHECK_LIB(pfm,pfm_get_os_event_encoding, HAVE_LIBPFM3='0'; HAVE_LIBPFM='1',
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor