@@ -3,7 +3,7 @@ libtracefs(3)
NAME
----
-tracefs_tracers, tracefs_get_clock, tracefs_list_free -
+tracefs_tracers, tracefs_get_clock, tracefs_list_free, tracefs_dynevent_list_free -
Helper functions for working with trace file system.
SYNOPSIS
@@ -15,6 +15,7 @@ SYNOPSIS
char pass:[*]pass:[*]*tracefs_tracers*(const char pass:[*]_tracing_dir_);
char pass:[*]*tracefs_get_clock*(struct tracefs_instance pass:[*]_instance_);
void *tracefs_list_free*(char pass:[*]pass:[*]_list_);
+void *tracefs_dynevent_list_free*(struct tracefs_dynevent pass:[*]pass:[*]_events_);
--
DESCRIPTION
@@ -36,6 +37,9 @@ The _tracefs_list_free()_ function frees an array of strings, returned by
_tracefs_event_systems()_, _tracefs_system_events()_ and _tracefs_tracers()_
APIs.
+The _tracefs_dynevent_list_free()_ functions frees an array of pointers to dynamic event contexts,
+returned by_tracefs_kprobes_get()_ API.
+
RETURN VALUE
------------
The _tracefs_tracers()_ returns array of strings. The last element in that
@@ -45,6 +45,7 @@ Trace helper functions:
void *tracefs_list_free*(char pass:[*]pass:[*]_list_);
char pass:[*]pass:[*]*tracefs_tracers*(const char pass:[*]_tracing_dir_);
char pass:[*]*tracefs_get_clock*(struct tracefs_instance pass:[*]_instance_);
+ void *tracefs_dynevent_list_free*(struct tracefs_dynevent pass:[*]pass:[*]_events_);
int *tracefs_trace_is_on*(struct tracefs_instance pass:[*]_instance_);
int *tracefs_trace_on*(struct tracefs_instance pass:[*]_instance_);
int *tracefs_trace_off*(struct tracefs_instance pass:[*]_instance_);
The newly added tracefs_dynevent_list_free() should be documented in the library man pages. Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com> --- Documentation/libtracefs-utils.txt | 6 +++++- Documentation/libtracefs.txt | 1 + 2 files changed, 6 insertions(+), 1 deletion(-)