From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx> Add tracefs_event_is_enabled() and tracefs_tracing_dir_is mounted(). Also add getting and setting the ring buffer size. Changes since v1: https://lore.kernel.org/all/20221112004130.2305589-1-rostedt@xxxxxxxxxxx/ - Add tracefs_instance_set_buffer_size() prototype in tracefs.h - Added tracefs_tracing_dir_is_mounted() API. Steven Rostedt (Google) (4): libtracefs: Add tracefs_event_is_enabled() API libtracefs: Add tracefs_instance_get_buffer_size() API libtracefs: Add tracefs_instance_set_buffer_size() API libtracefs: Add tracefs_tracing_dir_is_mounted() API Documentation/libtracefs-events.txt | 33 ++++- Documentation/libtracefs-files.txt | 14 +- Documentation/libtracefs-instances-utils.txt | 22 +++- Documentation/libtracefs.txt | 5 + include/tracefs.h | 12 ++ src/tracefs-events.c | 128 +++++++++++++++++-- src/tracefs-instance.c | 64 ++++++++++ src/tracefs-utils.c | 62 +++++++-- 8 files changed, 312 insertions(+), 28 deletions(-) -- 2.35.1