Lines Matching refs:btf_node
78 bool perf_env__insert_btf(struct perf_env *env, struct btf_node *btf_node) in perf_env__insert_btf() argument
81 __u32 btf_id = btf_node->id; in perf_env__insert_btf()
82 struct btf_node *node; in perf_env__insert_btf()
91 node = rb_entry(parent, struct btf_node, rb_node); in perf_env__insert_btf()
103 rb_link_node(&btf_node->rb_node, parent, p); in perf_env__insert_btf()
104 rb_insert_color(&btf_node->rb_node, &env->bpf_progs.btfs); in perf_env__insert_btf()
111 struct btf_node *perf_env__find_btf(struct perf_env *env, __u32 btf_id) in perf_env__find_btf()
113 struct btf_node *node = NULL; in perf_env__find_btf()
120 node = rb_entry(n, struct btf_node, rb_node); in perf_env__find_btf()
162 struct btf_node *node; in perf_env__purge_bpf()
164 node = rb_entry(next, struct btf_node, rb_node); in perf_env__purge_bpf()