diff options
author | Tzvetomir Stoyanov <tstoyanov@vmware.com> | 2018-11-30 18:44:04 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-12-17 20:55:52 +0300 |
commit | 477be10ca781bbee29d6a1da958d63d5c9a2d83b (patch) | |
tree | 2a9206086f7ae420e10983f107333c17200957e4 /tools/lib/traceevent/plugin_jbd2.c | |
parent | 239ca3e78609378a1ed5d9db1c7db629a71c2857 (diff) | |
download | linux-477be10ca781bbee29d6a1da958d63d5c9a2d83b.tar.xz |
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 <tstoyanov@vmware.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20181130154646.890615385@goodmis.org
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/traceevent/plugin_jbd2.c')
0 files changed, 0 insertions, 0 deletions