trace-cmd: Implement a main functionality lookup table
Since now there is an uniform command implementation I can reduce the
`main()` function to the minimum by using a lookup table. People can
now directly focus on a command implementation because there is
"nothing" in the `main()` function.
Signed-off-by: Federico Vaga <firstname.lastname@example.org>
Signed-off-by: Steven Rostedt (VMware) <email@example.com>
4 files changed