summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2017-10-09 23:32:59 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-10-24 15:59:55 +0300
commit11ea2515f32e783b9a7984c148e742c377383915 (patch)
tree20cc19b2a0fb98e4a6e2d8025a6d5cfdccfa4d55 /samples
parent2be8832f3c51cf9e36a3e80ff57f4137505c2ba4 (diff)
downloadlinux-11ea2515f32e783b9a7984c148e742c377383915.tar.xz
perf callchain: Create real callchain entries for inlined frames
The inline_node structs are maintained by the new dso->inlines tree. This in turn keeps ownership of the fake symbols and srcline string representing an inline frame. This tree is sorted by address to allow quick lookups. All other entries of the symbol beside the function name are unused for inline frames. The advantage of this approach is that all existing users of the callchain API can now transparently display inlined frames without having to patch their code. 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-6-milian.wolff@kdab.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions