]> git.karo-electronics.de Git - linux-beck.git/commit
perf evlist: Introduce id_hdr_size method out of perf_session
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 12 Nov 2011 00:28:50 +0000 (22:28 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Nov 2011 12:37:29 +0000 (10:37 -0200)
commit81e36bffad95e015af9741b5b1ee16afe08aab05
tree3468b3f8e1109e8e1d89d5d910d3a533bf6da70e
parentd04b35f8085f0d4c5c874515b8f65e7664357148
perf evlist: Introduce id_hdr_size method out of perf_session

We will need this when not using perf_session in cases like 'perf top'
and strace where no perf.data file is created nor consumed.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
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-za923wjc41q5xot5vrhuhj3j@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c
tools/perf/util/evlist.h
tools/perf/util/session.c