commit | b49b8ec2d2fa393f5edf3f4419edd0488763db09 | [log] [tgz] |
---|---|---|
author | Steven Rostedt (Google) <rostedt@goodmis.org> | Sun Feb 06 09:16:51 2022 -0500 |
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | Sun Feb 06 09:16:51 2022 -0500 |
tree | 94fdb2e9311a46d3f091052c8fda3efa36a2577e | |
parent | 92f2f92530a23ad7af0e14c65e077aeabfae8a9f [diff] |
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>