Skip to content

libtracefs: Have all man page examples be executable

Steven Rostedt linux-trace-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11libtracefs: Move creation of sqlhist into new samples directoryMakefile samples/Makefile+32 -80 replies
2/11libtracefs: Fix example in the dynamic events man page to compileDocumentation/libtracefs-dynevents.txt+1 -10 replies
3/11libtracefs/Documentation: Fix man page examples to include the proper headerDocumentation/libtracefs-dynevents.txt Documentation/libtracefs-eprobes.txt Documentation/libtracefs-error.txt +3 more+6 -60 replies
4/11tracefs/Documentation: Fix example in libtracefs-eprobes.txt to compileDocumentation/libtracefs-eprobes.txt+1 -30 replies
5/11libtracefs: Make samples easily extract man page example programsMakefile samples/Makefile+24 -50 replies
6/11libtracefs: Add new API tracefs_dynevent_get()Documentation/libtracefs-dynevents.txt include/tracefs.h src/tracefs-dynevents.c+57 -00 replies
7/11libtracefs/Documentation: Fix example in libtracefs-error.txtDocumentation/libtracefs-error.txt+6 -10 replies
8/11libtracefs/Documentation: Fix function-filter call to tracefs_list_free()Documentation/libtracefs-function-filter.txt+1 -10 replies
9/11libtracefs/Documentation: Update libtracefs-hist-cont.txt to new APIDocumentation/libtracefs-hist-cont.txt+18 -90 replies
10/11libtracefs: Add all working man page examples to samplessamples/Makefile+29 -30 replies
11/11libtracefs/Documentation: Update stream example to have a parameterDocumentation/libtracefs-stream.txt+15 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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

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
Signature · 1 line
2.31.1