diff options
author | Frederic Weisbecker <[email protected]> | 2014-01-14 16:37:16 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-01-17 11:25:24 -0300 |
commit | 2a29190c040c0b11e39197c67abf6f87e0a61f9a (patch) | |
tree | 68187bf0c9d8a1eb653d230dbd0d38ffd0046a27 /tools/perf/util/trace-event-scripting.c | |
parent | b965bb41061ad8d3eafda6e7feef89279fcd3916 (diff) |
perf tools: Remove unnecessary callchain cursor state restore on unmatch
If a new callchain branch doesn't match a single entry of the node that
it is given against comparison in append_chain(), then the cursor is
expected to be at the same position as it was before the comparison
loop.
As such, there is no need to restore the cursor position on exit in case
of non matching branches.
Signed-off-by: Frederic Weisbecker <[email protected]>
Reviewed-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions