aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2011-04-26 13:24:33 +0200
committerIngo Molnar <[email protected]>2011-04-26 13:34:34 +0200
commit18a073a3acd3a47fbb5e23333df7fad28d576345 (patch)
tree7b961ab5fd0f98a2348e4eaa419838040d7f8034 /tools/perf/scripts/python/futex-contention.py
parentcd2e49e90f1cae7726c9a2c54488d881d7f1cd1c (diff)
perf, x86: Fix BTS condition
Currently the x86 backend incorrectly assumes that any BRANCH_INSN with sample_period==1 is a BTS request. This is not true when we do frequency driven profiling such as 'perf record -e branches'. Solves this error: $ perf record -e branches ./array Error: sys_perf_event_open() syscall returned with 95 (Operation not supported). Signed-off-by: Peter Zijlstra <[email protected]> Reported-by: Ingo Molnar <[email protected]> Cc: "Metzger, Markus T" <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Frederic Weisbecker <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions