From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx> Make tracefs_tracer_set() have an optional argument to allow for custom tracers, for newer or custom kernels. Update errno values. Cleanups and documenation. This is based on top of Sameer's patch: https://patchwork.kernel.org/project/linux-trace-devel/patch/1621351602-3703-1-git-send-email-sameeross1994@xxxxxxxxx/ Steven Rostedt (VMware) (4): libtracefs: Add custom tracer to tracefs_tracer_set() libtracefs: Fix the errno values of tracefs_tracer_set() libtracefs: Check tracer parameter first in tracefs_tracer_set() libtracefs: Add documentation for tracefs_tracer_set/clear() Documentation/libtracefs-tracer.txt | 221 ++++++++++++++++++++++++++++ include/tracefs.h | 3 +- src/tracefs-tools.c | 46 ++++-- 3 files changed, 258 insertions(+), 12 deletions(-) create mode 100644 Documentation/libtracefs-tracer.txt -- 2.30.2