]> Pileus Git - ~andy/linux/commit
perf trace: Separate tp syscall field caching into init routine to be reused
authorNamhyung Kim <namhyung@kernel.org>
Tue, 12 Nov 2013 11:51:45 +0000 (08:51 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Nov 2013 16:00:36 +0000 (13:00 -0300)
commit96695d440242aca871ef8d797bd98d9cbd7ad8a0
tree86bc2a2f2e1c39a4c07471b81cb975095949512e
parent73faab3a421351c342b10b0177fec9eea1a1d809
perf trace: Separate tp syscall field caching into init routine to be reused

We need to set this in evsels coming out of a perf.data file header, not
just for new ones created for live sessions.

So separate the code that caches the syscall entry/exit tracepoint
format fields into a new function that will be used in the next
changeset.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
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: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20131112115700.GC4053@ghostprotocols.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c