libtracefs: Expose tracefs_hist_command() as an API
Expose trace_hist_start() as tracefs_hist_command() and make the following
functions wrappers that call this function:
tracefs_hist_start()
tracefs_hist_pause()
tracefs_hist_reset()
tracefs_hist_destroy()
Exposing the enum for the above commands can make it easier for
applications to run them depending on the input from the user.
Link: https://lore.kernel.org/linux-trace-devel/20210803164811.693731-3-rostedt@goodmis.org
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
3 files changed