perf hists: Introduce hist_entry__has_callchain() method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 29 May 2018 16:28:24 +0000 (13:28 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Jun 2018 15:51:46 +0000 (12:51 -0300)
commit0b5d6ece5e6a8b45c4ebbaaf831675b5b605850f
tree0e7a9ebf9f996b85dd1623cdb4d85173016e3488
parent4c50563d818622bb0f99b378b4e6683f189b39fb
perf hists: Introduce hist_entry__has_callchain() method

We'll use this helper more frequently when reworking
symbol_conf.use_callchain logic, where knowing if a hist_entry has
callchains is the important bit, so make going from hist_entry to hists
to evsel easier, compact.

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: https://lkml.kernel.org/n/tip-p6gioxkzpkpz71dtt4wcs36o@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.h