aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2011-04-26 11:24:33 +0000
committerIngo Molnar <[email protected]>2011-04-26 11:34:34 +0000
commit18a073a3acd3a47fbb5e23333df7fad28d576345 (patch)
tree7b961ab5fd0f98a2348e4eaa419838040d7f8034 /tools/perf/util/python.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ecr... (diff)
downloadkernel-18a073a3acd3a47fbb5e23333df7fad28d576345.tar.gz
kernel-18a073a3acd3a47fbb5e23333df7fad28d576345.zip
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/util/python.c')
0 files changed, 0 insertions, 0 deletions