Skip to content

libtracefs: Update option documentation and return pointer

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 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Rebased on top of Yordan's v4 options series.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libtracefs: Have the option mask function return a const pointerDocumentation/libtracefs-option-get.txt include/tracefs.h src/tracefs-tools.c+17 -120 replies
2/2libtracefs: Document tracefs_option_mask_is_set() with the other option functionsDocumentation/libtracefs-option-bits.txt Documentation/libtracefs-option-get.txt+12 -910 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/2] libtracefs: Update option documentation and return pointer

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

This is on top of this series:
https://lore.kernel.org/linux-trace-devel/[email protected]/

Have the trace_options_get_*() functions return a constant pointer as the bitmask returned points to an internal structure, and should not be freed or modified by the caller.

Fix the option documentation about how options are related between the top instance and the created instance.

Move the tracefs_option_mask_is_set() documentation to the other tarce_option_*() man page and remove the old documentation file.

Changes since v1:

- Rebased on top of Yordan's v4 options series.

Steven Rostedt (VMware) (2):
libtracefs: Have the option mask function return a const pointer
libtracefs: Document tracefs_option_mask_is_set() with the other
option functions

 Documentation/libtracefs-option-bits.txt | 90 ------------------------
 Documentation/libtracefs-option-get.txt  | 28 ++++++--
 include/tracefs.h                        |  4 +-
 src/tracefs-tools.c                      | 10 +--
 4 files changed, 29 insertions(+), 103 deletions(-)
 delete mode 100644 Documentation/libtracefs-option-bits.txt
Signature · 1 line
2.29.2