]> git.baikalelectronics.ru Git - kernel.git/commit
perf callchain: Mark inlined frames in output by " (inlined)" suffix
authorMilian Wolff <milian.wolff@kdab.com>
Mon, 9 Oct 2017 20:33:01 +0000 (22:33 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 24 Oct 2017 12:59:56 +0000 (09:59 -0300)
commit6a8dfec36ad2e10c21763608fbf8b82bafc85388
tree397a5ab62da855ed06dcd668f10d5541b50a3aaf
parentc17227ec7808dacfc4ad4d86ecffd05d19b1c684
perf callchain: Mark inlined frames in output by " (inlined)" suffix

The original patch that introduced inline frame output in the various
browsers used this suffix already. The new centralized approach that
uses fake symbols for inlined frames was missing this approach so far.

Instead of changing the symbol name itself, we only print the suffix
where needed. This allows us to efficiently lookup the symbol for a
given name without first having to append the suffix before the lookup.

Signed-off-by: Milian Wolff <milian.wolff@kdab.com>
Reviewed-by: Jiri Olsa <jolsa@redhat.com>
Reviewed-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Yao Jin <yao.jin@linux.intel.com>
Link: http://lkml.kernel.org/r/20171009203310.17362-8-milian.wolff@kdab.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/callchain.c
tools/perf/util/sort.c