trace-cmd:tldr:fbb95
The command "trace-cmd start -p ${select}" is used to start a tracing session with specific events or event groups selected.
Here is an explanation of each part of the command:
-
"trace-cmd": This command is part of the Trace-cmd tool, which provides a way to trace and analyze events in the Linux kernel.
-
"start": This is the sub-command of trace-cmd that initiates the tracing session.
-
"-p": This is an option used to select specific events or event groups to be traced. The events or groups are specified using the "select" variable.
-
"${select}": This is a placeholder representing the events or event groups that are to be selected for tracing. This variable needs to be replaced with the actual events or groups you want to trace.
So, when you run the command "trace-cmd start -p ${select}", make sure to replace ${select} with the appropriate events or groups you want to trace. For example, if you want to trace the "sched" event group, you would run "trace-cmd start -p sched".