perf session: Use perf_evlist__id_hdr_size more extensively
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 1 Aug 2012 22:31:00 +0000 (19:31 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 1 Aug 2012 22:31:00 +0000 (19:31 -0300)
commit7b56cce27123ccbf2cb82febbbc88443d719f1f8
treed15e3255d7a09d0e3193afdad8e0fea469f0fc4a
parent5e5624745d7e4a2c956c072ef2542872955b59c4
perf session: Use perf_evlist__id_hdr_size more extensively

Removing perf_session->id_hdr_size, as it can be obtained from the
evsel/evlist.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-1nwc2kslu7gsfblu98xbqbll@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/builtin-top.c
tools/perf/util/session.c
tools/perf/util/session.h