Skip to content

Add some helpful APIS

Steven Rostedt linux-trace-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4libtracefs: Add tracefs_event_is_enabled() APIDocumentation/libtracefs-events.txt Documentation/libtracefs.txt include/tracefs.h +1 more+162 -100 replies
2/4libtracefs: Add tracefs_instance_get_buffer_size() APIDocumentation/libtracefs-instances-utils.txt Documentation/libtracefs.txt include/tracefs.h +1 more+49 -40 replies
3/4libtracefs: Add tracefs_instance_set_buffer_size() APIDocumentation/libtracefs-instances-utils.txt Documentation/libtracefs.txt include/tracefs.h +1 more+38 -10 replies
4/4libtracefs: Add tracefs_tracing_dir_is_mounted() APIDocumentation/libtracefs-files.txt Documentation/libtracefs.txt include/tracefs.h +1 more+64 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] Add some helpful APIS

From: "Steven Rostedt (Google)" <[email protected]>

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/[email protected]/

- 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(-)
Signature · 1 line
2.35.1