aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2026-10-13 10:21:46 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-10-14 18:31:57 -0300
commit17f857eb98b7eff5b2bae9d026853725d7329c17 (patch)
tree36c4af04920566f24a068dbb44d0090f52b4ec55 /scripts/Makefile.thinlto
parentperf tools: Remove redundant dso data init (diff)
perf tools: Check ELF section type with name
In filename__has_section(), it just checks the name of the section but it's possible that the section header is present without actual data. In that case, it'll have SHT_NOBITS type and can confuse the result. Update the function to check the section type as well. Normally we want to check if the section content is present in the file so it'd have SHT_PROGBITS. All the current callers of the function expect the section with SHT_PROGBITS type (even for debug info). Signed-off-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions