Skip to content

trace-cmd: Add sqlhist option and show hist and triggers

Steven Rostedt linux-trace-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3trace-cmd show: Add --hist and --trigger optionsDocumentation/trace-cmd/trace-cmd-show.1.txt tracecmd/trace-show.c+57 -00 replies
2/3trace-cmd sqlhist: Add 'sqlhist' commandDocumentation/trace-cmd/trace-cmd-sqlhist.1.txt tracecmd/Makefile tracecmd/include/trace-local.h +3 more+608 -10 replies
3/3trace-cmd utest: Add tests for trace-cmd sqlhistutest/tracecmd-utest.c+28 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] trace-cmd: Add sqlhist option and show hist and triggers

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

Add a new command "sqlhist" to do the "sqlhist" code that is in the tracefs_sql() man page. sqlhist is still relatively unknown, by adding it to trace-cmd, it may become more public.

Also add show --hist to show the output of a trace event histogram and --trigger to show the contents of the trigger file.

Steven Rostedt (Google) (3):
trace-cmd show: Add --hist and --trigger options trace-cmd sqlhist: Add 'sqlhist' command trace-cmd utest: Add tests for trace-cmd sqlhist

 Documentation/trace-cmd/trace-cmd-show.1.txt  |   6 +
 .../trace-cmd/trace-cmd-sqlhist.1.txt         | 339 ++++++++++++++++++
 tracecmd/Makefile                             |   1 +
 tracecmd/include/trace-local.h                |   2 +
 tracecmd/trace-cmd.c                          |   1 +
 tracecmd/trace-show.c                         |  51 +++
 tracecmd/trace-sqlhist.c                      | 246 +++++++++++++
 tracecmd/trace-usage.c                        |  20 +-
 utest/tracecmd-utest.c                        |  28 ++
 9 files changed, 693 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/trace-cmd/trace-cmd-sqlhist.1.txt
 create mode 100644 tracecmd/trace-sqlhist.c
Signature · 1 line
2.42.0