aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndrew Vagin <[email protected]>2011-09-26 19:55:32 +0400
committerIngo Molnar <[email protected]>2011-10-04 11:07:54 +0200
commit92e51938f5d005026ba4bb5b1fae5a86dc195b86 (patch)
treed3f4db1d6de383ab36efa0147e44ddc8608a8b53 /tools/perf/scripts/python
parent87ffef79ab7562ca4a1f6f22ed7ddef1c434bc24 (diff)
perf: Fix counter of ftrace events
Each event adds some points to its counters. By default it adds 1, and a number of points may be transmited in event's parameters. E.g. sched:sched_stat_runtime adds how long process has been running. But this functionality was broken by v2.6.31-rc5-392-gf413cdb and now the event's parameters doesn't affect on a number of points. TP_perf_assign isn't defined, so __perf_count(c) isn't executed and __count is always equal to 1. Signed-off-by: Andrew Vagin <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions