]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - tools/perf/builtin-c2c.c
Merge branch 'perf/urgent' into perf/core, to pick up fixes
[karo-tx-linux.git] / tools / perf / builtin-c2c.c
index e2b21723bbf8acddac596ebf519ba5b7f82c84b3..5cd6d7a047b9d04a06cfa7cf0c5c0fdad19f81a6 100644 (file)
@@ -2334,7 +2334,7 @@ out:
 
 static void perf_c2c_display(struct perf_session *session)
 {
-       if (c2c.use_stdio)
+       if (use_browser == 0)
                perf_c2c__hists_fprintf(stdout, session);
        else
                perf_c2c__hists_browse(&c2c.hists.hists);
@@ -2536,7 +2536,7 @@ static int perf_c2c__report(int argc, const char **argv)
        OPT_BOOLEAN(0, "stdio", &c2c.use_stdio, "Use the stdio interface"),
 #endif
        OPT_BOOLEAN(0, "stats", &c2c.stats_only,
-                   "Use the stdio interface"),
+                   "Display only statistic tables (implies --stdio)"),
        OPT_BOOLEAN(0, "full-symbols", &c2c.symbol_full,
                    "Display full length of symbols"),
        OPT_BOOLEAN(0, "no-source", &no_source,