ktrace: Use ktrace_help() for all help messages

Consolidate the help messages into a ktrace_commands structure that can
link to sub commands. Add a ktrace_help() helper function that can be
called to print the commands and sub command help messages.

This will be used for both the help command itself, and for improper usage
of the commands that lack arguments.

Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
4 files changed
tree: 94fdb2e9311a46d3f091052c8fda3efa36a2577e
  1. include/
  2. scripts/
  3. src/
  4. .gitignore
  5. LICENSE
  6. Makefile