perf trace: Make --(min,max}-stack imply "--call-graph dwarf"
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 15 Apr 2016 19:41:19 +0000 (16:41 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 15 Apr 2016 19:41:19 +0000 (16:41 -0300)
commit056149932602ef905f1e26fc4fe242ef0533a597
treeb45900458c0721ca21d9e7d09f80b1d32bce07eb
parent0883e820a0ac18e04f036dbebc3580351d7fd6cf
perf trace: Make --(min,max}-stack imply "--call-graph dwarf"

If one uses:

  # perf trace --min-stack 16

Then it implicitly means that callgraphs should be enabled, and the best
option in terms of widespread availability is "dwarf".

Further work needed to choose a better alternative, LBR, in capable
systems.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-xtjmnpkyk42npekxz3kynzmx@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-trace.txt
tools/perf/builtin-trace.c