aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorJP Kobryn <[email protected]>2023-05-23 17:45:37 -0700
committerAndrii Nakryiko <[email protected]>2023-05-24 11:44:17 -0700
commit08b0895675736c49f7b172eac7d5c042fc71c3ec (patch)
tree3ac48fe645b27d5c1e8a42bf6881760d7f0d114c /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent9d0a23313b1aa107df857e8441ea2ed74811ea17 (diff)
libbpf: Selftests for resizing datasec maps
This patch adds test coverage for resizing datasec maps. The first two subtests resize the bss and custom data sections. In both cases, an initial array (of length one) has its element set to one. After resizing the rest of the array is filled with ones as well. A BPF program is then run to sum the respective arrays and back on the userspace side the sum is checked to be equal to the number of elements. The third subtest attempts to perform resizing under conditions that will result in either the resize failing or the BTF info being cleared. Signed-off-by: JP Kobryn <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Stanislav Fomichev <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions