]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf evsel: Introduce fprintf_callchain() method out of fprintf_sym()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Apr 2016 15:15:48 +0000 (12:15 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Apr 2016 01:18:18 +0000 (22:18 -0300)
commitea4539652eccc87b14fbcbc90467ebcb87f02ddb
treefa6fa42e679bd3d4997bee0b2229620bd0ad280b
parentff0c107806cf9d237e50e21de66d6909391071cd
perf evsel: Introduce fprintf_callchain() method out of fprintf_sym()

In 'perf trace' we're just interested in printing callchains, and we
don't want to use the symbol_conf.use_callchain, so move the callchain
part to a new method.

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