Home
last modified time | relevance | path

Searched refs:stack_trace_len (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/
Dstacktrace_map.c8 int err, prog_fd, stack_trace_len; in test_stacktrace_map() local
65 stack_trace_len = PERF_MAX_STACK_DEPTH * sizeof(__u64); in test_stacktrace_map()
66 err = compare_stack_ips(stackmap_fd, stack_amap_fd, stack_trace_len); in test_stacktrace_map()
Dstacktrace_build_id.c10 int err, stack_trace_len; in test_stacktrace_build_id() local
100 stack_trace_len = PERF_MAX_STACK_DEPTH * in test_stacktrace_build_id()
102 err = compare_stack_ips(stackmap_fd, stack_amap_fd, stack_trace_len); in test_stacktrace_build_id()
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_progs.c302 int compare_stack_ips(int smap_fd, int amap_fd, int stack_trace_len) in compare_stack_ips() argument
308 val_buf1 = malloc(stack_trace_len); in compare_stack_ips()
309 val_buf2 = malloc(stack_trace_len); in compare_stack_ips()
319 for (i = 0; i < stack_trace_len; i++) { in compare_stack_ips()
Dtest_progs.h208 int compare_stack_ips(int smap_fd, int amap_fd, int stack_trace_len);