aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2011-11-21 20:58:59 +0100
committerIngo Molnar <[email protected]>2011-12-21 11:01:09 +0100
commit365a4038486b57bb2bd516706a80f82f250f5306 (patch)
treee1c435230121dd794e706509e3140584ecfb0ac8 /tools/perf/util/scripting-engines/trace-event-python.c
parent35edc2a5095efb189e60dc32bbb9d2663aec6d24 (diff)
perf: Fix mmap_page::offset computation
There's multiple reason the counter might be unavailable, change the condition to !->index since perf_event_index() should return 0 for all those cases. Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions