diff options
Diffstat (limited to 'tools/perf/builtin-c2c.c')
| -rw-r--r-- | tools/perf/builtin-c2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-c2c.c b/tools/perf/builtin-c2c.c index e2b21723bbf8..5cd6d7a047b9 100644 --- a/tools/perf/builtin-c2c.c +++ b/tools/perf/builtin-c2c.c | |||
| @@ -2334,7 +2334,7 @@ out: | |||
| 2334 | 2334 | ||
| 2335 | static void perf_c2c_display(struct perf_session *session) | 2335 | static void perf_c2c_display(struct perf_session *session) |
| 2336 | { | 2336 | { |
| 2337 | if (c2c.use_stdio) | 2337 | if (use_browser == 0) |
| 2338 | perf_c2c__hists_fprintf(stdout, session); | 2338 | perf_c2c__hists_fprintf(stdout, session); |
| 2339 | else | 2339 | else |
| 2340 | perf_c2c__hists_browse(&c2c.hists.hists); | 2340 | perf_c2c__hists_browse(&c2c.hists.hists); |
| @@ -2536,7 +2536,7 @@ static int perf_c2c__report(int argc, const char **argv) | |||
| 2536 | OPT_BOOLEAN(0, "stdio", &c2c.use_stdio, "Use the stdio interface"), | 2536 | OPT_BOOLEAN(0, "stdio", &c2c.use_stdio, "Use the stdio interface"), |
| 2537 | #endif | 2537 | #endif |
| 2538 | OPT_BOOLEAN(0, "stats", &c2c.stats_only, | 2538 | OPT_BOOLEAN(0, "stats", &c2c.stats_only, |
| 2539 | "Use the stdio interface"), | 2539 | "Display only statistic tables (implies --stdio)"), |
| 2540 | OPT_BOOLEAN(0, "full-symbols", &c2c.symbol_full, | 2540 | OPT_BOOLEAN(0, "full-symbols", &c2c.symbol_full, |
| 2541 | "Display full length of symbols"), | 2541 | "Display full length of symbols"), |
| 2542 | OPT_BOOLEAN(0, "no-source", &no_source, | 2542 | OPT_BOOLEAN(0, "no-source", &no_source, |
