linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] libtracefs: Update option documentation and return pointer
@ 2021-04-09 18:23 Steven Rostedt
  2021-04-09 18:23 ` [PATCH 1/2] libtracefs: Have the option mask function return a const pointer Steven Rostedt
  2021-04-09 18:23 ` [PATCH 2/2] libtracefs: Document tracefs_option_mask_is_set() with the other option functions Steven Rostedt
  0 siblings, 2 replies; 3+ messages in thread
From: Steven Rostedt @ 2021-04-09 18:23 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: Yordan Karadzhov, Steven Rostedt (VMware)

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

-- 
2.29.2

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-09 18:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-09 18:23 [PATCH 0/2] libtracefs: Update option documentation and return pointer Steven Rostedt
2021-04-09 18:23 ` [PATCH 1/2] libtracefs: Have the option mask function return a const pointer Steven Rostedt
2021-04-09 18:23 ` [PATCH 2/2] libtracefs: Document tracefs_option_mask_is_set() with the other option functions Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).