]> git.karo-electronics.de Git - linux-beck.git/commit
perf evsel: Require that callchains be resolved before calling fprintf_{sym,callchain}
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Apr 2016 20:45:51 +0000 (17:45 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Apr 2016 22:46:56 +0000 (19:46 -0300)
commit6f736735e30f51805f6be31d20a4bf5b0ae91bae
treebc26c54ba215e4891ee6fa60e881074aa543d744
parentbfbba189b681c86b9ae380358e5f50ce1e33d240
perf evsel: Require that callchains be resolved before calling fprintf_{sym,callchain}

This way the print routine merely does printing, not requiring access to
the resolving machinery, which helps disentangling the object files and
easing creating subsets with a limited functionality set.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-2ti2jbra8fypdfawwwm3aee3@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c
tools/perf/builtin-trace.c
tools/perf/util/evsel.c
tools/perf/util/evsel.h