diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2016-03-30 16:51:17 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-03-31 10:42:22 -0300 |
commit | 3ed5ca2efff70e9f589087c2013789572901112d (patch) | |
tree | 48ab364bcd7ab0b2ff39c5dc79766e57a875106d /lib/test-string_helpers.c | |
parent | d1b26c70246bc72922ae61d9f972d5c2588409e7 (diff) |
perf trace: Do not process PERF_RECORD_LOST twice
We catch this record to provide a visual indication that events are
getting lost, then call the default method to allow extra logging shared
with the other tools to take place.
This extra logging was done twice because we were continuing to the
"default" clause where machine__process_event() will end up calling
machine__process_lost_event() again, fix it.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions