trace-cmd: Add trace-cmd set to bash completion (like start)
PATCH 1/1 trace-cmd: Add trace-cmd set to bash completion (like start)
From: "Steven Rostedt (Google)" <[email protected]>
The trace-cmd set command is the same as trace-cmd start except that it doesn't reset tracefs before starting the tracing. Nor does it enable tracing. But it does pretty much all the other commands.
Have trace-cmd set have the same tab completions as trace-cmd start.
Signed-off-by Steven Rostedt (Google) <[email protected]>
--- tracecmd/trace-cmd.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tracecmd/trace-cmd.bash +1 -1
@@ -348,7 +348,7 @@ _trace_cmd_complete() __trace_cmd_extract_complete "${prev}" "${cur}" ${words[@]} return 0 ;; - record|stream|start|profile) + record|stream|start|set|profile) __trace_cmd_record_complete "${prev}" "${cur}" ${words[@]} return 0 ;;
Signature · 1 line
2.47.2