Searched refs:stackmap_fd (Results 1 – 5 of 5) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | stacktrace_map_skip.c | 10 int stackid_hmap_fd, stackmap_fd, stack_amap_fd; in test_stacktrace_map_skip() local 22 stackmap_fd = bpf_map__fd(skel->maps.stackmap); in test_stacktrace_map_skip() 23 if (!ASSERT_GE(stackmap_fd, 0, "stackmap fd")) in test_stacktrace_map_skip() 45 err = compare_map_keys(stackid_hmap_fd, stackmap_fd); in test_stacktrace_map_skip() 49 err = compare_map_keys(stackmap_fd, stackid_hmap_fd); in test_stacktrace_map_skip() 54 err = compare_stack_ips(stackmap_fd, stack_amap_fd, stack_trace_len); in test_stacktrace_map_skip()
|
H A D | stacktrace_map.c | 6 int control_map_fd, stackid_hmap_fd, stackmap_fd, stack_amap_fd; in test_stacktrace_map() local 36 stackmap_fd = bpf_find_map(__func__, obj, "stackmap"); in test_stacktrace_map() 37 if (CHECK_FAIL(stackmap_fd < 0)) in test_stacktrace_map() 55 err = compare_map_keys(stackid_hmap_fd, stackmap_fd); in test_stacktrace_map() 60 err = compare_map_keys(stackmap_fd, stackid_hmap_fd); in test_stacktrace_map() 66 err = compare_stack_ips(stackmap_fd, stack_amap_fd, stack_trace_len); in test_stacktrace_map()
|
H A D | stacktrace_map_raw_tp.c | 7 int control_map_fd, stackid_hmap_fd, stackmap_fd; in test_stacktrace_map_raw_tp() local 36 stackmap_fd = bpf_find_map(__func__, obj, "stackmap"); in test_stacktrace_map_raw_tp() 37 if (CHECK_FAIL(stackmap_fd < 0)) in test_stacktrace_map_raw_tp() 51 err = compare_map_keys(stackid_hmap_fd, stackmap_fd); in test_stacktrace_map_raw_tp() 56 err = compare_map_keys(stackmap_fd, stackid_hmap_fd); in test_stacktrace_map_raw_tp()
|
H A D | stacktrace_build_id.c | 8 int control_map_fd, stackid_hmap_fd, stackmap_fd, stack_amap_fd; in test_stacktrace_build_id() local 29 stackmap_fd = bpf_map__fd(skel->maps.stackmap); in test_stacktrace_build_id() 44 err = compare_map_keys(stackid_hmap_fd, stackmap_fd); in test_stacktrace_build_id() 49 err = compare_map_keys(stackmap_fd, stackid_hmap_fd); in test_stacktrace_build_id() 67 err = bpf_map_lookup_elem(stackmap_fd, &key, id_offs); in test_stacktrace_build_id() 97 err = compare_stack_ips(stackmap_fd, stack_amap_fd, stack_trace_len); in test_stacktrace_build_id()
|
H A D | stacktrace_build_id_nmi.c | 7 int control_map_fd, stackid_hmap_fd, stackmap_fd; in test_stacktrace_build_id_nmi() local 57 stackmap_fd = bpf_map__fd(skel->maps.stackmap); in test_stacktrace_build_id_nmi() 71 err = compare_map_keys(stackid_hmap_fd, stackmap_fd); in test_stacktrace_build_id_nmi() 76 err = compare_map_keys(stackmap_fd, stackid_hmap_fd); in test_stacktrace_build_id_nmi()
|