diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2015-01-02 13:21:04 +0530 |
---|---|---|
committer | Tuukka Tikkanen <tuukka.tikkanen@linaro.org> | 2015-01-07 09:41:42 +0200 |
commit | 11e7cd17f1744922412c82210744b67289b74e9f (patch) | |
tree | bfa8441c3dea604dd405071b7bdae58c13716c18 | |
parent | 5129e949cbffebb9675b133bfb9f43b135210959 (diff) |
Document use of comparison mode until we get a real man page
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Tuukka Tikkanen <tuukka.tikkanen@linaro.org>
-rw-r--r-- | idlestat.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -947,12 +947,18 @@ static void help(const char *cmd) " results:\n\tsudo ./%s --trace -f /tmp/mytrace -t 10 -p -c -w -- rt-app /tmp/mp3.json\n", basename(cmd)); fprintf(stderr, - "\n4. Post-process a trace captured earlier:\n\tsudo ./%s" + "\n4. Post-process a trace captured earlier:\n\t./%s" " --import -f /tmp/mytrace\n", basename(cmd)); fprintf(stderr, "\n5. Run a trace, post-process the results and print all" " statistics into a file:\n\tsudo ./%s --trace -f /tmp/mytrace -t 10 -p -c -w" " -o /tmp/myreport\n", basename(cmd)); + fprintf(stderr, + "\n6. Run a comparison trace, say, before and after making changes to system behaviour\n" + "\tsudo ./%s --trace -f /tmp/baseline -t 10\n" + "\tsudo ./%s --trace -f /tmp/changedstate -t 10\n" + "\t./%s --import -f /tmp/changedstate -b /tmp/baseline -r comparison\n", + basename(cmd), basename(cmd), basename(cmd)); fprintf(stderr, "\nReport formats supported:"); list_report_formats_to_stderr(); } |