aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2012-04-12 14:21:01 +0200
committerArnaldo Carvalho de Melo <[email protected]>2012-04-12 12:14:50 -0300
commit6782206b5dfece4c51f587b3ca1540a4027f87dd (patch)
tree68dd9e7c0166308f19dcc2f7f21440878fc7728b /tools/perf/util/scripting-engines/trace-event-python.c
parent7fb0a5ee8889488f7568ffddffeb66ddeb50917e (diff)
perf session: Skip event correctly for unknown id/machine
In case the perf_session__process_event function fails, we estimate the next event offset. This is not necessary for sample event failing on unknown ID or machine. In such case we know proper size of the event, so we dont need to guess. Also failure statistics are updated correctly so we don't miss any information. Forcing perf_session__process_event to return 0 in case of unknown ID or machine. Signed-off-by: Jiri Olsa <[email protected]> Cc: Corey Ashford <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[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/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions