Lines Matching refs:syms
120 const char *syms[8] = { in test_link_api_syms() local
131 opts.kprobe_multi.syms = syms; in test_link_api_syms()
132 opts.kprobe_multi.cnt = ARRAY_SIZE(syms); in test_link_api_syms()
198 const char *syms[8] = { in test_attach_api_syms() local
209 opts.syms = syms; in test_attach_api_syms()
210 opts.cnt = ARRAY_SIZE(syms); in test_attach_api_syms()
220 const char *syms[2] = { in test_attach_api_fails() local
249 opts.syms = syms; in test_attach_api_fails()
250 opts.cnt = ARRAY_SIZE(syms); in test_attach_api_fails()
263 opts.syms = NULL; in test_attach_api_fails()
264 opts.cnt = ARRAY_SIZE(syms); in test_attach_api_fails()
277 opts.syms = NULL; in test_attach_api_fails()
278 opts.cnt = ARRAY_SIZE(syms); in test_attach_api_fails()
291 opts.syms = NULL; in test_attach_api_fails()
321 char *name = NULL, **syms = NULL; in get_syms() local
384 err = libbpf_ensure_mem((void **) &syms, &cap, in get_syms()
385 sizeof(*syms), cnt + 1); in get_syms()
389 syms[cnt++] = name; in get_syms()
393 *symsp = syms; in get_syms()
402 free(syms[i]); in get_syms()
403 free(syms); in get_syms()
416 char **syms = NULL; in test_kprobe_multi_bench_attach() local
419 if (!ASSERT_OK(get_syms(&syms, &cnt, kernel), "get_syms")) in test_kprobe_multi_bench_attach()
426 opts.syms = (const char **) syms; in test_kprobe_multi_bench_attach()
450 if (syms) { in test_kprobe_multi_bench_attach()
452 free(syms[i]); in test_kprobe_multi_bench_attach()
453 free(syms); in test_kprobe_multi_bench_attach()