aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorTzvetomir Stoyanov <[email protected]>2018-11-30 10:44:04 -0500
committerArnaldo Carvalho de Melo <[email protected]>2018-12-17 14:55:52 -0300
commit477be10ca781bbee29d6a1da958d63d5c9a2d83b (patch)
tree2a9206086f7ae420e10983f107333c17200957e4 /tools/perf/util/scripting-engines/trace-event-python.c
parent239ca3e78609378a1ed5d9db1c7db629a71c2857 (diff)
tools lib traceevent: Implement new API tep_get_ref()
This patch implements a new API of the tracevent library: int tep_get_ref(struct tep_handle *tep); The API returns the reference counter "ref_count" of the tep handler. As "struct tep_handle" is internal only, its members cannot be accessed by the library users, the API is used to get the reference counter. Signed-off-by: Tzvetomir Stoyanov <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Steven Rostedt (VMware) <[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