]> git.baikalelectronics.ru Git - kernel.git/commit
perf top: Lift restriction on using callchains without "sym" in --sort
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 8 Jan 2019 13:56:59 +0000 (10:56 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 8 Jan 2019 16:28:13 +0000 (13:28 -0300)
commit583fc662b255a7e106cc78bf2eb774420ce9dc49
tree5885941a16e19d54ec358d0428b63b9fab03b0e7
parent598a305e1f8ca3c891907f2f07d1881028317ec4
perf top: Lift restriction on using callchains without "sym" in --sort

This restriction is not present in 'perf report' and since 'perf top'
uses the same hists browser, remove it from it as well.

With this we create per event buckets with callchain trees, so that

  # perf top --sort dso -g --no-children

Bucketizes samples by DSO and below it shows the callchains leading to
functions in this DSO.

Try also:

  # perf top -e sched:*switch -g --no-children

To see the callchains leading to sched switches, pressing 'E' to expand
all one can quickly see the most common scheduler switches and what
leads to them, for instance, calls to IO, futexes, etc.

Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: https://lkml.kernel.org/r/20190107140854.GA28965@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-top.c