aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2019-06-17 12:26:54 -0700
committerDaniel Borkmann <[email protected]>2019-06-18 00:10:40 +0200
commitdb48814bd2833ee231f48bd2030082369b88f9ef (patch)
treecca3be34591c388b5859afe0d29063591142809c /tools/perf/scripts/python/bin/stackcollapse-report
parentbf82927125dd25003d76ed5541da704df21de57a (diff)
libbpf: identify maps by section index in addition to offset
To support maps to be defined in multiple sections, it's important to identify map not just by offset within its section, but section index as well. This patch adds tracking of section index. For global data, we record section index of corresponding .data/.bss/.rodata ELF section for uniformity, and thus don't need a special value of offset for those maps. Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Song Liu <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions