Searched refs:tp_cnt (Results 1 – 2 of 2) sorted by relevance
53 static int tp_cnt; variable72 while (tp_cnt) in int_exit()73 bpf_link__destroy(tp_links[--tp_cnt]); in int_exit()661 printf("Loaded BPF prog have %d bpf program(s)\n", tp_cnt); in print_bpf_prog_info()679 printf("Searching for (max:%d) event file descriptor(s)\n", tp_cnt); in print_bpf_prog_info()680 for (i = 0; i < tp_cnt; i++) { in print_bpf_prog_info()756 tp_links[tp_cnt] = bpf_program__attach(prog); in main()757 if (libbpf_get_error(tp_links[tp_cnt])) { in main()759 tp_links[tp_cnt] = NULL; in main()762 tp_cnt++; in main()[all …]
69 static int tp_cnt = 0; variable119 while (tp_cnt) in int_exit()120 bpf_link__destroy(tp_links[--tp_cnt]); in int_exit()693 tp_links[tp_cnt] = bpf_program__attach(prog); in init_tracepoints()694 if (libbpf_get_error(tp_links[tp_cnt])) { in init_tracepoints()695 tp_links[tp_cnt] = NULL; in init_tracepoints()698 tp_cnt++; in init_tracepoints()