]> git.baikalelectronics.ru Git - kernel.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)
commit48225291a0556039ace790b949b3cc384bb8d2a7
treebc26c54ba215e4891ee6fa60e881074aa543d744
parent3fca7da3e8a54ce446bc78cbf84a8b72143a1292
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