summaryrefslogtreecommitdiffstats
path: root/tools/perf/python
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2012-09-18 11:13:15 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-09-24 12:26:31 -0300
commit2b29175d2b212d88f100c8819aaea097be61e062 (patch)
treec24d3e7c849bc5cb2a8ad06924ab3c1e235dd56b /tools/perf/python
parenta6d2a61ac653a85718aa61000d2648803f211ba3 (diff)
downloadblackbird-op-linux-2b29175d2b212d88f100c8819aaea097be61e062.tar.gz
blackbird-op-linux-2b29175d2b212d88f100c8819aaea097be61e062.zip
tools lib traceevent: Carve out events format parsing routine
The pevent_parse_event() routine will parse a events/sys/tp/format file and add an event_format instance to the pevent struct. This patch introduces a pevent_parse_format() routine with just the bits needed to parse the event/sys/tp/format file and just return the event_format instance, useful for when all we want is to parse the format file, without requiring the pevent struct. Acked-by: Steven Rostedt <rostedt@goodmis.org> 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> Cc: Steven Rostedt <rostedt@goodmis.org> Link: http://lkml.kernel.org/n/tip-lge0afl47arh86om0m6a5bqr@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud