Lines Matching refs:tp_links
58 struct bpf_link *tp_links[NUM_TP] = {}; variable
73 bpf_link__destroy(tp_links[--tp_cnt]); in int_exit()
681 int fd = bpf_link__fd(tp_links[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()
774 bpf_link__destroy(tp_links[2]); /* tracepoint/xdp/xdp_redirect */ in main()
775 tp_links[2] = NULL; in main()
777 bpf_link__destroy(tp_links[3]); /* tracepoint/xdp/xdp_redirect_map */ in main()
778 tp_links[3] = NULL; in main()
788 bpf_link__destroy(tp_links[--tp_cnt]); in main()