diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-12-28 22:16:44 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-12-28 22:26:09 -0500 |
commit | 5b90189acd7be277c2aaa4dfd2945d23be7a3025 (patch) | |
tree | 752e9a32f711aa1c04898925374b756b18edbb39 | |
parent | 7451ff9a9ebdbad695c5b683eea30422089a734e (diff) | |
download | trace-cmd-5b90189acd7be277c2aaa4dfd2945d23be7a3025.tar.gz |
trace-cmd show: Re-arrange the enum long option values
To simplify adding enums to trace-cmd show, re-arrange the enum values. They
can be larger than 255 as well.
No functional changes.
Link: https://lore.kernel.org/linux-trace-devel/20231229031907.69432-2-rostedt@goodmis.org
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-rw-r--r-- | tracecmd/trace-show.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tracecmd/trace-show.c b/tracecmd/trace-show.c index eb328527..796c587c 100644 --- a/tracecmd/trace-show.c +++ b/tracecmd/trace-show.c @@ -11,16 +11,16 @@ #include "trace-local.h" enum { - OPT_tracing_on = 255, - OPT_current_tracer = 254, - OPT_buffer_size_kb = 253, - OPT_buffer_total_size_kb = 252, - OPT_ftrace_filter = 251, - OPT_ftrace_notrace = 250, - OPT_ftrace_pid = 249, - OPT_graph_function = 248, - OPT_graph_notrace = 247, - OPT_cpumask = 246, + OPT_cpumask = 240, + OPT_graph_notrace, + OPT_graph_function, + OPT_ftrace_pid, + OPT_ftrace_notrace, + OPT_ftrace_filter, + OPT_buffer_total_size_kb, + OPT_buffer_size_kb, + OPT_current_tracer, + OPT_tracing_on, }; void trace_show(int argc, char **argv) |