aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2024-08-29 10:42:25 -0700
committerAlexei Starovoitov <[email protected]>2024-09-11 09:58:30 -0700
commitd4deb82423416e3ace7889816eea630af81fe702 (patch)
tree64ccb9d07086d240b533b8cb633261ccc712ae88 /tools/perf/scripts/python/task-analyzer.py
parentde3ec364c3c37971dbba1e37a55ae5b646c6f24e (diff)
lib/buildid: take into account e_phoff when fetching program headers
Current code assumption is that program (segment) headers are following ELF header immediately. This is a common case, but is not guaranteed. So take into account e_phoff field of the ELF header when accessing program headers. Reviewed-by: Eduard Zingerman <[email protected]> Reported-by: Alexey Dobriyan <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions