aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMartynas Pumputis <[email protected]>2021-07-19 19:38:38 +0200
committerAndrii Nakryiko <[email protected]>2021-07-19 15:58:07 -0700
commit08f71a1e39a1f07a464ac782d9b612d6a74c7015 (patch)
treefef8b766463a47745db4e6fb9b12e66f41d71722 /tools/perf/scripts/python/stackcollapse.py
parenta21ab4c59e09c2a9994a6e393b7484e3b3f78a99 (diff)
selftests/bpf: Check inner map deletion
Add a test case to check whether an unsuccessful creation of an outer map of a BTF-defined map-in-map destroys the inner map. As bpf_object__create_map() is a static function, we cannot just call it from the test case and then check whether a map accessible via map->inner_map_fd has been closed. Instead, we iterate over all maps and check whether the map "$MAP_NAME.inner" does not exist. Signed-off-by: Martynas Pumputis <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions