diff options
author | Milian Wolff <[email protected]> | 2017-10-09 22:32:59 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-10-24 09:59:55 -0300 |
commit | 11ea2515f32e783b9a7984c148e742c377383915 (patch) | |
tree | 20cc19b2a0fb98e4a6e2d8025a6d5cfdccfa4d55 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 2be8832f3c51cf9e36a3e80ff57f4137505c2ba4 (diff) |
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 <[email protected]>
Reviewed-by: Jiri Olsa <[email protected]>
Reviewed-by: Namhyung Kim <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Yao Jin <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions