Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1631707
| From | Federico Vaga <federico.vaga@vaga.pv.it> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | trace-cmd improve main() function |
| Date | 2017-04-26 22:40 +0200 |
| Message-ID | <tABTc-7dC-13@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
In two steps I tried to improve the `main()` function. The reason for those patches is that the current `main()` function is doing much more than the necessary (implementing commands); this makes the code not uniform and less clear. Tests Since those patches are mainly, copy & paste and re-writing how `trace-cmd` runs command, I tested these changes by executing the help message for all the commands. In principle, if we are able to run the commands the patches are correct.
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
trace-cmd improve main() function Federico Vaga <federico.vaga@vaga.pv.it> - 2017-04-26 22:40 +0200 [PATCH 1/2] trace-cmd: uniform command implementation Federico Vaga <federico.vaga@vaga.pv.it> - 2017-04-26 22:40 +0200 [PATCH 2/2] trace-cmd: improve main readability Federico Vaga <federico.vaga@vaga.pv.it> - 2017-04-26 22:40 +0200
csiph-web