On Mon, 21 Dec 2020 08:02:52 +0200 "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@xxxxxxxxx> wrote: > +DESCRIPTION > +----------- > +Various useful functions for working with trace file system. > + > +The _tracefs_tracers()_ function returns array of strings with the > +names of supported tracer plugins, located in the given _tracing_dir_ directory. > +This could be NULL or tracefs mount point, for trace systems in top instance, > +or full path to a trace instance, for trace systems in that instance. > +The last entry in the array as a NULL pointer. The array must > +be freed with _tracefs_list_free()_ API. The description above needs to be updated as well. -- Steve > + > +The _tracefs_get_clock()_ function returns name of the current trace clock, > +used in the given _instance_. If _instance_ is NULL, the clock of the main > +trace instance is returned. The returned string must be freed with free(). > + > +The _tracefs_list_free()_ function frees an array of strings, returned by > +_tracefs_event_systems()_, _tracefs_system_events()_ and _tracefs_tracers()_ > +APIs. > +