diff options
| author | Tzvetomir Stoyanov <[email protected]> | 2018-11-30 15:44:04 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-12-17 17:55:52 +0000 |
| commit | 477be10ca781bbee29d6a1da958d63d5c9a2d83b (patch) | |
| tree | 2a9206086f7ae420e10983f107333c17200957e4 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | perf report: Documentation average IPC and IPC coverage (diff) | |
| download | kernel-477be10ca781bbee29d6a1da958d63d5c9a2d83b.tar.gz kernel-477be10ca781bbee29d6a1da958d63d5c9a2d83b.zip | |
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-perl.c')
0 files changed, 0 insertions, 0 deletions
