perf diff: Add diff.order config option
authorNamhyung Kim <namhyung@kernel.org>
Fri, 10 Feb 2017 07:36:12 +0000 (16:36 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 13 Feb 2017 17:29:37 +0000 (14:29 -0300)
commitd49dd15d69731589de4436a6dcfca59567320fdf
treee81c01b951fc5a03f9d2ced31ec6fc076ff207c8
parenta1668c25a8e1b53d00b2997ef5bc5e25c7a77235
perf diff: Add diff.order config option

In many cases, I need to look at differences between two data so I often
used the -o option to sort the result base on the difference first.
It'd be nice to have a config option to set it by default.

The diff.order config option is to set the default value of -o/--order
option.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Taeung Song <treeze.taeung@gmail.com>
Link: http://lkml.kernel.org/r/20170210073614.24584-3-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-config.txt
tools/perf/Documentation/perf-diff.txt
tools/perf/builtin-diff.c