]> Git Repo - linux.git/commit
perf python: Add perf.tracepoint method
authorJiri Olsa <[email protected]>
Sun, 10 Jul 2016 11:07:58 +0000 (13:07 +0200)
committerArnaldo Carvalho de Melo <[email protected]>
Tue, 12 Jul 2016 19:17:54 +0000 (16:17 -0300)
commit1075fbb22f095c857930190e30fd3ae422d424b6
treea339b96b07b678b2f921f51c93e32eb278bd1d90
parent85e37de3a993b9e407398f792b996acad27f4cdc
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]>
tools/perf/util/python.c
This page took 0.043678 seconds and 4 git commands to generate.