summaryrefslogtreecommitdiffstats
path: root/tools/perf/ui
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-06-05 09:54:49 +0200
committerIngo Molnar <mingo@kernel.org>2017-06-05 09:54:49 +0200
commit4241119eeb14f762e2d7f6e7c52afd22cea1de37 (patch)
tree655a153ca0517acb93b1eea776bad49ce5d8b050 /tools/perf/ui
parentmm, x86/mm: Make the batched unmap TLB flush API more generic (diff)
parentLinux 4.12-rc4 (diff)
downloadlinux-4241119eeb14f762e2d7f6e7c52afd22cea1de37.tar.xz
linux-4241119eeb14f762e2d7f6e7c52afd22cea1de37.zip
Merge tag 'v4.12-rc4' into x86/mm, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/ui')
-rw-r--r--tools/perf/ui/hist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c
index 59addd52d9cd..ddb2c6fbdf91 100644
--- a/tools/perf/ui/hist.c
+++ b/tools/perf/ui/hist.c
@@ -210,6 +210,8 @@ static int __hpp__sort_acc(struct hist_entry *a, struct hist_entry *b,
return 0;
ret = b->callchain->max_depth - a->callchain->max_depth;
+ if (callchain_param.order == ORDER_CALLER)
+ ret = -ret;
}
return ret;
}