lkml.org 
[lkml]   [2017]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjecttrace-cmd improve main() function
Date
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.

\
 
 \ /
  Last update: 2017-04-26 22:31    [W:0.047 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site