summaryrefslogtreecommitdiff
path: root/tools/perf/python
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2026-09-24 16:27:56 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-09-25 18:13:51 +0200
commit02ee4666a0cdeaa1cda4c46293aa367a344971ca (patch)
tree7d52d7523ec00fad0ca16f8ca02e5f4de6e9d929 /tools/perf/python
parent14ca0a28de37849afdda6ffd4c9047f58d8906c2 (diff)
downloadlinux-next-02ee4666a0cdeaa1cda4c46293aa367a344971ca.tar.gz
linux-next-02ee4666a0cdeaa1cda4c46293aa367a344971ca.zip
perf annotate-data: Bound the member nesting recursion
Members are added recursively, and a broken DIE can make a member's type point back at one of its own ancestors, recursing until the stack is gone; nothing usable comes out of nesting members 32 deep anyway, so stop there, marking the member as truncated and giving up on member types that don't resolve. The check is where the children of an aggregate would be expanded, so only struct/union members are marked as truncated. Reviewed-by: Ian Rogers <irogers@google.com> Reviewed-by: Namhyung Kim <namhyung@kernel.org> Assisted-by: LLM Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/python')
0 files changed, 0 insertions, 0 deletions