perf callchain: Set callchain_param.enabled when parsing --call-graph
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 18 Apr 2016 14:53:07 +0000 (11:53 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 18 Apr 2016 14:53:07 +0000 (11:53 -0300)
commit30234f0925c1deeb472b579b57a9f50791157c58
treecfc6e4fb6fdc0700e5915fd2fffc89b3a0df4a3c
parent922315210b8007a26374e30712813b714af71cac
perf callchain: Set callchain_param.enabled when parsing --call-graph

Trying to move in the direction of using callchain_param for all
callchain parameters, eventually ditching them from symbol_conf.

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