diff options
| author | Jiri Olsa <[email protected]> | 2016-07-10 11:07:58 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-12 19:17:54 +0000 |
| commit | 1075fbb22f095c857930190e30fd3ae422d424b6 (patch) | |
| tree | a339b96b07b678b2f921f51c93e32eb278bd1d90 /tools/perf/util/annotate.c | |
| parent | perf python: Put perf.event objects into dictionary (diff) | |
| download | kernel-1075fbb22f095c857930190e30fd3ae422d424b6.tar.gz kernel-1075fbb22f095c857930190e30fd3ae422d424b6.zip | |
perf python: Add perf.tracepoint method
To get id of the tracepoint from subsystem and name strings. The
interface is:
id = perf.tracepoint(sys, name)
In case of error -1 is returned.
It will be used to get python tracepoint event's config value for
tracepoint event.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
