summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorZecheng Li <zecheng@google.com>2026-03-09 13:55:16 -0400
committerNamhyung Kim <namhyung@kernel.org>2026-03-19 14:42:29 -0700
commit8b8d8b8f17dfa817e4e94ce4e8f26d92f6f65504 (patch)
tree05fb3be1579dd538db05ade2893df4d94d0b2528 /tools/perf/scripts/python/task-analyzer.py
parentace16303179efad4e1a2aebb27a661e5d1e7277d (diff)
perf dwarf-aux: Skip check_variable for variable lookup
Both die_find_variable_by_reg and die_find_variable_by_addr call match_var_offset which already performs sufficient checking and type matching. The additional check_variable call is redundant, and its need_pointer logic is only a heuristic. Since DWARF encodes accurate type information, which match_var_offset verifies, skipping check_variable improves both coverage and accuracy. Return the matched type from die_find_variable_by_reg and die_find_variable_by_addr via the existing `type` field in find_var_data, removing the need for check_variable in find_data_type_die. Signed-off-by: Zecheng Li <zecheng@google.com> Signed-off-by: Zecheng Li <zli94@ncsu.edu> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions