diff options
author | 2016-08-12 20:41:01 -0300 | |
---|---|---|
committer | 2016-08-23 15:37:33 -0300 | |
commit | fa1f456592347c6f40c9d37ea407b029fda5324a (patch) | |
tree | 4f4f5fafb736c60ea9f153455a30976fd071152d /tools/perf/util/sort.c | |
parent | tools: Copy coresight-pmu.h header file needed by perf tools (diff) | |
download | linux-fa1f456592347c6f40c9d37ea407b029fda5324a.tar.gz linux-fa1f456592347c6f40c9d37ea407b029fda5324a.tar.bz2 linux-fa1f456592347c6f40c9d37ea407b029fda5324a.zip |
perf report: Allow configuring the default sort order in ~/.perfconfig
Allows changing the default sort order from "comm,dso,symbol" to some
other default, for instance "sym,dso" may be more fitting for kernel
developers.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-pm1h5puxua8nsxksd68fjm8r@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/sort.c')
-rw-r--r-- | tools/perf/util/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c index 5ae3d32a21d6..1884d7f9b9d2 100644 --- a/tools/perf/util/sort.c +++ b/tools/perf/util/sort.c @@ -11,7 +11,7 @@ regex_t parent_regex; const char default_parent_pattern[] = "^sys_|^do_page_fault"; const char *parent_pattern = default_parent_pattern; -const char default_sort_order[] = "comm,dso,symbol"; +const char *default_sort_order = "comm,dso,symbol"; const char default_branch_sort_order[] = "comm,dso_from,symbol_from,symbol_to,cycles"; const char default_mem_sort_order[] = "local_weight,mem,sym,dso,symbol_daddr,dso_daddr,snoop,tlb,locked"; const char default_top_sort_order[] = "dso,symbol"; |