diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2012-09-18 11:13:15 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-09-24 12:26:31 -0300 |
commit | 2b29175d2b212d88f100c8819aaea097be61e062 (patch) | |
tree | c24d3e7c849bc5cb2a8ad06924ab3c1e235dd56b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a6d2a61ac653a85718aa61000d2648803f211ba3 (diff) |
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 <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions