OSDN Git Service

perf evsel: Rename config_callgraph() to config_callchain() and make it public
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Apr 2016 21:39:37 +0000 (18:39 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Apr 2016 01:18:23 +0000 (22:18 -0300)
commit01e0d50c3f95cb1bae2dbfd83173bc2864d6d28c
tree13997baf2cc2cb50f766f28b7df756f5e48582e0
parent22c8a376b55f327f7a25a318e87ba9202ba284bf
perf evsel: Rename config_callgraph() to config_callchain() and make it public

The rename is for consistency with the parameter name.

Make it public for fine grained control of which evsels should have
callchains enabled, like, for instance, will be done in the next
changesets in 'perf trace', to enable callchains just on the
"raw_syscalls:sys_exit" tracepoint.

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