diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2025-01-03 20:45:33 +0000 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2025-01-11 01:25:25 +0900 |
commit | ab4439981f8549b013f4ea0b274b7c77c88ab4bc (patch) | |
tree | 6431dacc19ca8f56ad024dbc019af20cd86c1a9e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | d2ffdc1c9a0ee71b30e25fbe3e2a37bf4c146085 (diff) |
gendwarfksyms: Add symtypes output
Add support for producing genksyms-style symtypes files. Process
die_map to find the longest expansions for each type, and use symtypes
references in type definitions. The basic file format is similar to
genksyms, with two notable exceptions:
1. Type names with spaces (common with Rust) in references are
wrapped in single quotes. E.g.:
s#'core::result::Result<u8, core::num::error::ParseIntError>'
2. The actual type definition is the simple parsed DWARF format we
output with --dump-dies, not the preprocessed C-style format
genksyms produces.
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Petr Pavlu <petr.pavlu@suse.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions