aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2012-09-05 19:51:33 +0200
committerArnaldo Carvalho de Melo <[email protected]>2012-09-06 15:01:08 -0300
commit275ef3878f698941353780440fec6926107a320b (patch)
tree616b96197e489d3fbd5ef8bdde5a59a50d6dcd76 /tools/perf/util/scripting-engines/trace-event-python.c
parent49f20d723e25a221fbcf1cbf4e51bb2942326e4f (diff)
perf tools: Fix cache event name generation
If the event name is specified with all 3 components, the last one overwrites the previous one during the name composing within the parse_events_add_cache function. Fixing this by properly adjusting the string index. Reported-by: Joel Uckelman <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Cc: Corey Ashford <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Joel Uckelman <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> LPU-Reference: [email protected] [ committer note: Remove the newline fix, done already in 42e1fb7 ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions