Lines Matching refs:syms
123 const char *syms[8] = { in test_link_api_syms() local
134 opts.kprobe_multi.syms = syms; in test_link_api_syms()
135 opts.kprobe_multi.cnt = ARRAY_SIZE(syms); in test_link_api_syms()
201 const char *syms[8] = { in test_attach_api_syms() local
212 opts.syms = syms; in test_attach_api_syms()
213 opts.cnt = ARRAY_SIZE(syms); in test_attach_api_syms()
223 const char *syms[2] = { in test_attach_api_fails() local
254 opts.syms = syms; in test_attach_api_fails()
255 opts.cnt = ARRAY_SIZE(syms); in test_attach_api_fails()
269 opts.syms = NULL; in test_attach_api_fails()
270 opts.cnt = ARRAY_SIZE(syms); in test_attach_api_fails()
284 opts.syms = NULL; in test_attach_api_fails()
285 opts.cnt = ARRAY_SIZE(syms); in test_attach_api_fails()
299 opts.syms = NULL; in test_attach_api_fails()
314 opts.syms = NULL; in test_attach_api_fails()
497 char *name = NULL, *ksym_name, **syms = NULL; in get_syms() local
556 err = libbpf_ensure_mem((void **) &syms, &cap, in get_syms()
557 sizeof(*syms), cnt + 1); in get_syms()
561 syms[cnt++] = ksym_name; in get_syms()
564 *symsp = syms; in get_syms()
572 free(syms); in get_syms()
670 char **syms = NULL; in test_kprobe_multi_bench_attach() local
673 if (!ASSERT_OK(get_syms(&syms, &cnt, kernel), "get_syms")) in test_kprobe_multi_bench_attach()
680 opts.syms = (const char **) syms; in test_kprobe_multi_bench_attach()
687 if (syms) in test_kprobe_multi_bench_attach()
688 free(syms); in test_kprobe_multi_bench_attach()