Searched refs:stackmap_fd (Results 1 – 4 of 4) sorted by relevance
/tools/testing/selftests/bpf/prog_tests/ |
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() 61 err = bpf_map_get_next_key(stackmap_fd, NULL, &key); in test_stacktrace_build_id() 69 err = bpf_map_lookup_elem(stackmap_fd, &key, id_offs); in test_stacktrace_build_id() 83 } while (bpf_map_get_next_key(stackmap_fd, &previous_key, &key) == 0); in test_stacktrace_build_id() 102 err = compare_stack_ips(stackmap_fd, stack_amap_fd, stack_trace_len); in test_stacktrace_build_id()
|
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()
|
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()
|
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() 103 err = bpf_map_get_next_key(stackmap_fd, NULL, &key); in test_stacktrace_build_id_nmi() 111 err = bpf_map_lookup_elem(stackmap_fd, &key, id_offs); in test_stacktrace_build_id_nmi() 125 } while (bpf_map_get_next_key(stackmap_fd, &previous_key, &key) == 0); in test_stacktrace_build_id_nmi()
|