[PATCH 0/3] libtracefs: Add some helpful APIS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx>

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

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(-)

-- 
2.35.1




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux