summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorZecheng Li <zecheng@google.com>2025-10-13 18:16:01 +0000
committerNamhyung Kim <namhyung@kernel.org>2025-10-21 06:02:49 -0700
commit109218718de2f7173fabdd507cc6786e79ad1690 (patch)
tree231e059e420dfea754ad5c098764c19099597e66 /tools/perf/scripts/python/bin
parent1f4cc4ae3f8ae661bae3722e973a0f5be650fcbf (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions