summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/hist.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2018-06-07 19:33:31 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-06-07 19:33:31 +0200
commit29f9fcdd3f8edccad5809cf939ce921752460fe7 (patch)
tree652db2e53cec27bb2a7221c0515dbc24a542dbd9 /tools/perf/util/hist.h
parentperf hists: Make hist_entry__has_callchains() work with 'perf c2c' (diff)
downloadlinux-29f9fcdd3f8edccad5809cf939ce921752460fe7.tar.xz
linux-29f9fcdd3f8edccad5809cf939ce921752460fe7.zip
perf hists browser gtk: Use hist_entry__has_callchains()
Since we can't go from struct hists to struct evsel for all cases (c2c is an exception) and we have access to the hist_entry, use hist_entry__has_callchains() in the GTK+ hists browser to figure out if callchains are available. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jin Yao <yao.jin@linux.intel.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-8owkgrruzzi5emvblwh4e6le@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/hist.h')
0 files changed, 0 insertions, 0 deletions