summaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/hist.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-03-18 11:31:39 +0900
committerJiri Olsa <jolsa@kernel.org>2014-05-21 11:45:35 +0200
commit512ae1bd6acb811c72e44e2540099eccd31f773d (patch)
treedce8f54594f284e88b113ffd60584869dcb32479 /tools/perf/ui/hist.c
parenta2ce067e55e328f1a6fe3dddf77a173381ffdfe1 (diff)
downloadlinux-stable-512ae1bd6acb811c72e44e2540099eccd31f773d.tar.gz
linux-stable-512ae1bd6acb811c72e44e2540099eccd31f773d.tar.bz2
linux-stable-512ae1bd6acb811c72e44e2540099eccd31f773d.zip
perf tools: Consolidate management of default sort orders
The perf uses different default sort orders for different use-cases, and this was scattered throughout the code. Add get_default_sort_ order() function to handle this and change initial value of sort_order to NULL to distinguish it from user-given one. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1400480762-22852-10-git-send-email-namhyung@kernel.org Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/ui/hist.c')
0 files changed, 0 insertions, 0 deletions