diff options
author | Frederic Weisbecker <[email protected]> | 2009-10-08 22:07:29 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-10-08 22:11:02 +0200 |
commit | 26dd2cb074d9dc41c9e3cddd7bf175fd0a41febc (patch) | |
tree | 05c0188d5ecf806e4079181989f971efa3c44d47 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 97ea1a7fa62af0d8d49a0fc12796b0073537c9d8 (diff) |
perf tools: Provide backward compatibility with previous perf.data version
We have merged the trace.info file into perf.data by adding one
section in the perf headers. This makes it incompatible with
previous version: the new perf tools can't read the older
perf.data.
To support the previous format, we check the headers size. If they
have the same size than in the previous format, then ignore the
trace info section that doesn't exist.
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions