mbox series

[00/11] libtracefs: Have all man page examples be executable

Message ID 20211122234956.788401-1-rostedt@goodmis.org (mailing list archive)
Headers show
Series libtracefs: Have all man page examples be executable | expand

Message

Steven Rostedt Nov. 22, 2021, 11:49 p.m. UTC
From: "Steven Rostedt (VMware)" <rostedt@goodmis.org>

Fix the man pages, and add a "make samples" that extracts the man page
examples to create executables from.

Note, several man pages do not have a proper example, and those will
need to be updated to have one.

Steven Rostedt (VMware) (11):
  libtracefs: Move creation of sqlhist into new samples directory
  libtracefs: Fix example in the dynamic events man page to compile
  libtracefs/Documentation: Fix man page examples to include the proper
    header
  tracefs/Documentation: Fix example in libtracefs-eprobes.txt to
    compile
  libtracefs: Make samples easily extract man page example programs
  libtracefs: Add new API tracefs_dynevent_get()
  libtracefs/Documentation: Fix example in libtracefs-error.txt
  libtracefs/Documentation: Fix function-filter call to
    tracefs_list_free()
  libtracefs/Documentation: Update libtracefs-hist-cont.txt to new API
  libtracefs: Add all working man page examples to samples
  libtracefs/Documentation: Update stream example to have a parameter

 Documentation/libtracefs-dynevents.txt       | 14 +++-
 Documentation/libtracefs-eprobes.txt         |  6 +-
 Documentation/libtracefs-error.txt           |  9 ++-
 Documentation/libtracefs-function-filter.txt |  2 +-
 Documentation/libtracefs-hist-cont.txt       | 29 +++++---
 Documentation/libtracefs-hist.txt            |  2 +-
 Documentation/libtracefs-kprobes.txt         |  2 +-
 Documentation/libtracefs-stream.txt          | 18 ++++-
 Makefile                                     | 14 ++--
 include/tracefs.h                            |  2 +
 samples/Makefile                             | 69 ++++++++++++++++++++
 src/tracefs-dynevents.c                      | 45 +++++++++++++
 12 files changed, 181 insertions(+), 31 deletions(-)
 create mode 100644 samples/Makefile