trace-cmd: Uniform main command implementation

Most of the commands have the implementation in a dedicated file.
Those commands without a dedicated file are implemented in the
`main()` function. This patch uniform the code by moving the commands
implemented in the `main()` function to dedicated files.


Signed-off-by: Federico Vaga <>
Signed-off-by: Steven Rostedt (VMware) <>
6 files changed