diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2010-04-05 18:01:10 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-04-08 11:34:26 -0300 |
commit | e9e94e3bd862d31777335722e747e97d9821bc1d (patch) | |
tree | 950e87eb9870450f94e10c598eb320f450ff16ca /tools/perf/scripts/python/check-perf-trace.py | |
parent | 854c5548dfad017920a36201d40449fdbad90bfb (diff) |
perf trace: Ignore "overwrite" field if present in /events/header_page
That is not used in perf where we have the LOST events.
Without this patch we get:
[root@doppio ~]# perf lock report | head -3
Warning: Error: expected 'data' but read 'overwrite'
So, to make the same perf command work with kernels with and without
this field, introduce variants for the parsing routines to not warn the
user in such case.
Discussed-with: Steven Rostedt <[email protected]>
Cc: Frédéric Weisbecker <[email protected]>
Cc: Hitoshi Mitake <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions