aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorStephane Eranian <[email protected]>2014-04-23 19:04:19 +0200
committerIngo Molnar <[email protected]>2014-04-24 08:12:41 +0200
commit9f7ff8931e3c5ddc8535476971ec9501e9555c05 (patch)
tree9d92eb11e72942ff41a3e603548041c7f3033c89 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent89b90ee37a76a2bb05cc8ced30364b0de001f523 (diff)
perf/x86: Fix RAPL rdmsrl_safe() usage
This patch fixes a bug introduced by: 24223657806a ("perf/x86/intel: Use rdmsrl_safe() when initializing RAPL PMU") The rdmsrl_safe() function returns 0 on success. The current code was failing to detect the RAPL PMU on real hardware (missing /sys/devices/power) because the return value of rdmsrl_safe() was misinterpreted. Signed-off-by: Stephane Eranian <[email protected]> Acked-by: Borislav Petkov <[email protected]> Acked-by: Venkatesh Srinivas <[email protected]> Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/20140423170418.GA12767@quad Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions