diff options
| author | Zecheng Li <zecheng@google.com> | 2025-10-13 18:16:01 +0000 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-10-21 06:02:49 -0700 |
| commit | 109218718de2f7173fabdd507cc6786e79ad1690 (patch) | |
| tree | 231e059e420dfea754ad5c098764c19099597e66 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 1f4cc4ae3f8ae661bae3722e973a0f5be650fcbf (diff) | |
| download | linux-109218718de2f7173fabdd507cc6786e79ad1690.tar.gz linux-109218718de2f7173fabdd507cc6786e79ad1690.zip | |
perf annotate: Save pointer offset in stack state
The tracked pointer offset was not being preserved in the stack state,
which could lead to incorrect type analysis. This change adds a
ptr_offset field to the type_state_stack struct and passes it to
set_stack_state and findnew_stack_state to ensure the offset is
preserved after the pointer is loaded from a stack location. It improves
the type annotation coverage and quality.
Signed-off-by: Zecheng Li <zecheng@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
