mbox series

[0/2] libtracefs: Update option documentation and return pointer

Message ID 20210409182311.2239371-1-rostedt@goodmis.org (mailing list archive)
Headers show
Series libtracefs: Update option documentation and return pointer | expand

Message

Steven Rostedt April 9, 2021, 6:23 p.m. UTC
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>

This is on top of this series:
  https://lore.kernel.org/linux-trace-devel/20210408140024.13093-1-y.karadz@gmail.com/

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.

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  | 29 +++++---
 include/tracefs.h                        |  4 +-
 src/tracefs-tools.c                      | 10 +--
 4 files changed, 29 insertions(+), 104 deletions(-)
 delete mode 100644 Documentation/libtracefs-option-bits.txt