aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2016-07-10 13:07:58 +0200
committerArnaldo Carvalho de Melo <[email protected]>2016-07-12 16:17:54 -0300
commit1075fbb22f095c857930190e30fd3ae422d424b6 (patch)
treea339b96b07b678b2f921f51c93e32eb278bd1d90 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent85e37de3a993b9e407398f792b996acad27f4cdc (diff)
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/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions