perf tools: Handle PERF_RECORD_HEADER_EVENT_TYPE properly
authorJiri Olsa <jolsa@redhat.com>
Tue, 4 Feb 2014 14:37:48 +0000 (15:37 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 Feb 2014 14:34:31 +0000 (11:34 -0300)
commitf67697bd079f4bbcbe7d6d26765a06b18afe0630
treeadbb8b017afcd628d7051da58c41ad34ce04b0e5
parent981a23792cd02631f8cd5dd65753208a44de5ae1
perf tools: Handle PERF_RECORD_HEADER_EVENT_TYPE properly

We removed event types from data file in following commits:

  6065210 perf tools: Remove event types framework completely
  44b3c57 perf tools: Remove event types from perf data file

We no longer need this information, because we can get it directly from
tracepoints.

But we still need to handle PERF_RECORD_HEADER_EVENT_TYPE event for the
sake of old perf data files created in pipe mode like:

  $ perf.3.4 record -o - foo >perf.data
  $ perf.312 report -i - < perf.data

Reported-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1391524668-12546-1-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/session.c
This page took 0.024383 seconds and 5 git commands to generate.