perf trace: Only auto set call-graph to "dwarf" when syscalls are being traced
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 May 2016 22:00:27 +0000 (19:00 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 20 May 2016 14:43:57 +0000 (11:43 -0300)
commitcaa36ed7ba82caa9f685dd04aa10d0bf87ea8b6a
tree50326bd59eb3acaee681786acb3b8e5095e353fb
parent7e4c1498130d7b6c26e6669839af4c7e321c9fec
perf trace: Only auto set call-graph to "dwarf" when syscalls are being traced

When --min-stack or --max-stack is passwd but --no-syscalls is also in
effect, there is no point in automatically setting '--call-graph dwarf'.

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-pq922i7h9wef0pho1dqpttvn@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c