summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorLeon Hwang <leon.hwang@linux.dev>2026-08-13 23:23:15 +0800
committerAndrii Nakryiko <andrii@kernel.org>2026-08-13 10:27:40 -0700
commitbed7d65ff499e58c8504a2a3387ee95b551f6951 (patch)
treee5c4eb6ea1adcf69d03c38b14e1e374d3a8e6079 /tools/perf/scripts/python/bin/stackcollapse-report
parent0a07e75b16b6788948198ca8576a3a72324c7ca3 (diff)
bpf: Factor out check_map_mem_read helper in verifier
In the next commit, percpu_array map will add map_direct_value_addr support. IOW, it will add a map_type check in the iff condition of the bpf_map_direct_read() code block, which will reduce the code block readability. Hence, factor out check_map_mem_read helper to improve the readability, and the maintainability for the percpu_array map case. Signed-off-by: Leon Hwang <leon.hwang@linux.dev> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/bpf/20260813152324.97937-3-leon.hwang@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions