diff options
author | Stanislav Fomichev <[email protected]> | 2013-11-27 14:45:00 +0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-11-27 15:10:11 -0300 |
commit | 3ed0d21e1103787e21ca38bed2ff50c9f087bedb (patch) | |
tree | cbff6509269034b33c56cc1fcab90d73ddf0c7b8 /lib/string_helpers.c | |
parent | 449867e346bfd52c5df6bba5b706a795c35e78d4 (diff) |
perf timechart: dynamically determine event fields offset
Since b000c8065a92 "tracing: Remove the extra 4 bytes of padding in
events" removed padding bytes, perf timechart got out of sync with the
kernel's trace_entry structure.
Convert perf timechart to use dynamic fields offsets (via
perf_evsel__intval) not relying on a hardcoded copy of fields layout
from the kernel.
Signed-off-by: Stanislav Fomichev <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Chia-I Wu <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/20131127104459.GB3309@stfomichev-desktop
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions