diff options
author | Namhyung Kim <[email protected]> | 2023-11-09 15:59:25 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-11-10 09:04:08 -0300 |
commit | 981620fd2776c45a514ed621a718e2a6941ad7c5 (patch) | |
tree | 2bc02ccd0739a5e7f11a07b2ebceccb50a18cc77 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 3796eba7c137e073d1caa95b48d4a320fd2d9600 (diff) |
perf dwarf-aux: Add die_get_scopes() alternative to dwarf_getscopes()
The die_get_scopes() returns the number of enclosing DIEs for the given
address and it fills an array of DIEs like dwarf_getscopes(). But it
doesn't follow the abstract origin of inlined functions as we want
information of the concrete instance. This is needed to check the
location of parameters and local variables properly. Users can check
the origin separately if needed.
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions