From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx> 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 -- 2.42.0