Searched refs:stackmap_fd (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
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()
|
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()
|
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()
|
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 30 stackmap_fd = bpf_map__fd(skel->maps.stackmap); in test_stacktrace_build_id() 45 err = compare_map_keys(stackid_hmap_fd, stackmap_fd); in test_stacktrace_build_id() 50 err = compare_map_keys(stackmap_fd, stackid_hmap_fd); in test_stacktrace_build_id() 69 err = bpf_map_lookup_elem(stackmap_fd, &key, id_offs); in test_stacktrace_build_id() 102 err = compare_stack_ips(stackmap_fd, stack_amap_fd, stack_trace_len); in test_stacktrace_build_id()
|
A D | stacktrace_build_id_nmi.c | 22 int control_map_fd, stackid_hmap_fd, stackmap_fd; in test_stacktrace_build_id_nmi() local 73 stackmap_fd = bpf_map__fd(skel->maps.stackmap); in test_stacktrace_build_id_nmi() 87 err = compare_map_keys(stackid_hmap_fd, stackmap_fd); in test_stacktrace_build_id_nmi() 92 err = compare_map_keys(stackmap_fd, stackid_hmap_fd); in test_stacktrace_build_id_nmi()
|
Completed in 8 milliseconds