mbox series

[0/3] libtracefs: Add some helpful APIS

Message ID 20221112004130.2305589-1-rostedt@goodmis.org (mailing list archive)
Headers show
Series libtracefs: Add some helpful APIS | expand

Message

Steven Rostedt Nov. 12, 2022, 12:41 a.m. UTC
From: "Steven Rostedt (Google)" <rostedt@goodmis.org>

Add tracefs_event_is_enabled() (which supersedes https://lore.kernel.org/all/20221111185318.22e9bca9@rorschach.local.home/)

Also add getting and setting the ring buffer size.

Steven Rostedt (Google) (3):
  libtracefs: Add tracefs_event_is_enabled() API
  libtracefs: Add tracefs_instance_get_buffer_size() API
  libtracefs: Add tracefs_instance_set_buffer_size() API

 Documentation/libtracefs-events.txt          |  33 ++++-
 Documentation/libtracefs-instances-utils.txt |  22 +++-
 Documentation/libtracefs.txt                 |   4 +
 include/tracefs.h                            |  10 ++
 src/tracefs-events.c                         | 128 +++++++++++++++++--
 src/tracefs-instance.c                       |  64 ++++++++++
 6 files changed, 247 insertions(+), 14 deletions(-)