aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung.kim@lge.com>2013-04-03 08:26:11 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-05-28 09:23:54 -0400
commitafab87b91f3f331d55664172dad8e476e6ffca9d (patch)
treea533ae46a92da08601a8792a7be3bbee91f168a2 /tools/perf/builtin-report.c
parent2f532d09fa3a7eaf7cf1c23de9767eab8c8c0e7e (diff)
perf sort: Separate out memory-specific sort keys
Since they're used only for perf mem, separate out them to a different dimension so that normal user cannot access them by any chance. For global/local weights, I'm not entirely sure to place them into the memory dimension. But it's the only user at this time. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1364991979-3008-3-git-send-email-namhyung@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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index c877982a64d3..669405c9b8a2 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -871,6 +871,8 @@ repeat:
871 fprintf(stderr, "branch and mem mode incompatible\n"); 871 fprintf(stderr, "branch and mem mode incompatible\n");
872 goto error; 872 goto error;
873 } 873 }
874 sort__mode = SORT_MODE__MEMORY;
875
874 /* 876 /*
875 * if no sort_order is provided, then specify 877 * if no sort_order is provided, then specify
876 * branch-mode specific order 878 * branch-mode specific order