[RFC 0/4] perf tools: Remove event types data

From: Jiri Olsa
Date: Tue Jul 09 2013 - 12:50:48 EST


hi,
following up on the 'perf timechart' FIXME note and changing
its tracepoint match not to use event types data.

In my tests the old and new timechart outputs look the same,
so.. any other tester would be appreciated ;-)

Also as this was the only user of the event types data
the rest of the patchset is removing it out of the perf.

The event types data are referenced from the perf data
file header. The reference (offset & size) stays in the
header with 0s.

Also the event types data is already duplicated via the
event_desc FEATURE, so there's no information loss.

thanks for comments,
jirka


Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Paul Mackerras <paulus@xxxxxxxxx>
Cc: Corey Ashford <cjashfor@xxxxxxxxxxxxxxxxxx>
Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: David Ahern <dsahern@xxxxxxxxx>
Cc: Thomas Renninger <trenn@xxxxxxx>
---
tools/perf/builtin-inject.c | 7 ------
tools/perf/builtin-record.c | 13 -----------
tools/perf/builtin-report.c | 1 -
tools/perf/builtin-script.c | 1 -
tools/perf/builtin-timechart.c | 94 ++++++++++++++++++++++++++++++++++++++++++-------------------------------------
tools/perf/util/event.h | 2 +-
tools/perf/util/header.c | 118 +---------------------------------------------------------------------------------------------------
tools/perf/util/header.h | 16 +-------------
tools/perf/util/session.c | 11 ----------
tools/perf/util/tool.h | 3 ---
10 files changed, 54 insertions(+), 212 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/