diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-09-26 11:46:11 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-10-07 11:11:49 -0400 |
commit | ef9dfe6ec3e409b68e35c05b882d636140bb3fa7 (patch) | |
tree | c7bdca5ac0fde2bc08c3f4f52ce19ccf0c3c86ca /tools/perf/builtin-report.c | |
parent | 42b28ac071a1a239d2a48965e9d6be0e061dd103 (diff) |
perf hists: Allow limiting the number of rows and columns in fprintf
So that we can reuse hists__fprintf for in the new perf top tool.
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-huazw48x05h8r9niz5cf63za@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r-- | tools/perf/builtin-report.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 3d58334909a..b125742e5cf 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -232,7 +232,7 @@ static int perf_evlist__tty_browse_hists(struct perf_evlist *evlist, | |||
232 | const char *evname = event_name(pos); | 232 | const char *evname = event_name(pos); |
233 | 233 | ||
234 | hists__fprintf_nr_sample_events(hists, evname, stdout); | 234 | hists__fprintf_nr_sample_events(hists, evname, stdout); |
235 | hists__fprintf(hists, NULL, false, stdout); | 235 | hists__fprintf(hists, NULL, false, true, 0, 0, stdout); |
236 | fprintf(stdout, "\n\n"); | 236 | fprintf(stdout, "\n\n"); |
237 | } | 237 | } |
238 | 238 | ||