All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/4] perf tools: Remove event types data
@ 2013-07-09 16:48 Jiri Olsa
  2013-07-09 16:48 ` [PATCH 1/4] perf tools: Remove event types framework only user Jiri Olsa
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Jiri Olsa @ 2013-07-09 16:48 UTC (permalink / raw)
  To: linux-kernel
  Cc: Jiri Olsa, Arnaldo Carvalho de Melo, Peter Zijlstra, Ingo Molnar,
	Paul Mackerras, Corey Ashford, Frederic Weisbecker, Namhyung Kim,
	David Ahern, Thomas Renninger

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@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Thomas Renninger <trenn@suse.de>
---
 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(-)

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-07-15 19:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-09 16:48 [RFC 0/4] perf tools: Remove event types data Jiri Olsa
2013-07-09 16:48 ` [PATCH 1/4] perf tools: Remove event types framework only user Jiri Olsa
2013-07-11  6:16   ` Namhyung Kim
2013-07-11 12:26     ` Jiri Olsa
2013-07-09 16:48 ` [PATCH 2/4] perf tools: Remove event types from perf data file Jiri Olsa
2013-07-09 16:48 ` [PATCH 3/4] perf tools: Remove event types pushing from record command Jiri Olsa
2013-07-09 16:48 ` [PATCH 4/4] perf tools: Remove event types framework completely Jiri Olsa
2013-07-09 20:49 ` [RFC 0/4] perf tools: Remove event types data Jiri Olsa
2013-07-10  6:11 ` Thomas Renninger
2013-07-10  7:49   ` Jiri Olsa
2013-07-15 19:11     ` Arnaldo Carvalho de Melo
2013-07-11  6:19 ` Namhyung Kim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.