diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2013-04-03 21:26:11 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-05-28 16:23:54 +0300 |
commit | afab87b91f3f331d55664172dad8e476e6ffca9d (patch) | |
tree | a533ae46a92da08601a8792a7be3bbee91f168a2 /tools/perf/builtin-report.c | |
parent | 2f532d09fa3a7eaf7cf1c23de9767eab8c8c0e7e (diff) | |
download | kernel_goldelico_gta04-afab87b91f3f331d55664172dad8e476e6ffca9d.zip kernel_goldelico_gta04-afab87b91f3f331d55664172dad8e476e6ffca9d.tar.gz kernel_goldelico_gta04-afab87b91f3f331d55664172dad8e476e6ffca9d.tar.bz2 |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index c877982..669405c 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c @@ -871,6 +871,8 @@ repeat: fprintf(stderr, "branch and mem mode incompatible\n"); goto error; } + sort__mode = SORT_MODE__MEMORY; + /* * if no sort_order is provided, then specify * branch-mode specific order |