perf hists: Clarify callchain disabling when available
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 20 Jun 2018 18:58:20 +0000 (15:58 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 24 Jul 2018 17:37:33 +0000 (14:37 -0300)
commite9de7e2f7e22989fefc760cf0920062c58b2b2b1
tree501b307fbf39dab00c63814a53a724b0719159a7
parent06dc5bf21f3f90750fcc073fbc6ce2a0324df051
perf hists: Clarify callchain disabling when available

We want to allow having mixed events with/without callchains, not
using a global flag to show callchains, but allowing supressing
callchains when they are present.

So invert the logic of the last parameter to hists__fprint() to
that effect.

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-ohqyisr6qge79qa95ojslptx@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-c2c.c
tools/perf/builtin-diff.c
tools/perf/builtin-report.c
tools/perf/builtin-top.c
tools/perf/ui/stdio/hist.c
tools/perf/util/hist.h