diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-05-12 01:43:18 -0400 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-05-21 05:45:37 -0400 |
commit | f21d1815295ee79ce0767cb08d6f3ffa3a3b5cfe (patch) | |
tree | c80577435fae0bc62cf654b7758c089cce0f25f4 /tools/perf/tests/hists_common.c | |
parent | 4e754e1c7fe02e6b104e61f7e06e9895527e8ad3 (diff) |
perf tests: Add a testcase for histogram output sorting
With new output fields option, its internal implementation was changed
so add a new testcase to verify whether it breaks things.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1400480762-22852-21-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/tests/hists_common.c')
-rw-r--r-- | tools/perf/tests/hists_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/tests/hists_common.c b/tools/perf/tests/hists_common.c index 040a85b17aee..e4e01aadc3be 100644 --- a/tools/perf/tests/hists_common.c +++ b/tools/perf/tests/hists_common.c | |||
@@ -193,8 +193,8 @@ void print_hists_out(struct hists *hists) | |||
193 | he = rb_entry(node, struct hist_entry, rb_node); | 193 | he = rb_entry(node, struct hist_entry, rb_node); |
194 | 194 | ||
195 | if (!he->filtered) { | 195 | if (!he->filtered) { |
196 | pr_info("%2d: entry: %-8s [%-8s] %20s: period = %"PRIu64"\n", | 196 | pr_info("%2d: entry: %8s:%5d [%-8s] %20s: period = %"PRIu64"\n", |
197 | i, thread__comm_str(he->thread), | 197 | i, thread__comm_str(he->thread), he->thread->tid, |
198 | he->ms.map->dso->short_name, | 198 | he->ms.map->dso->short_name, |
199 | he->ms.sym->name, he->stat.period); | 199 | he->ms.sym->name, he->stat.period); |
200 | } | 200 | } |