Add some helpful APIS
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 0 repliesNew
- v13 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | libtracefs: Add tracefs_event_is_enabled() APIDocumentation/ Documentation/ include/ +1 more | +162 | 0 replies | |
| 2/4 | libtracefs: Add tracefs_instance_get_buffer_size() APIDocumentation/ Documentation/ include/ +1 more | +49 | 0 replies | |
| 3/4 | libtracefs: Add tracefs_instance_set_buffer_size() APIDocumentation/ Documentation/ include/ +1 more | +38 | 0 replies | |
| 4/4 | libtracefs: Add tracefs_tracing_dir_is_mounted() APIDocumentation/ Documentation/ include/ +1 more | +64 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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