Home
last modified time | relevance | path

Searched refs:bpf_progs (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/tools/perf/util/
Denv.c26 down_write(&env->bpf_progs.lock); in perf_env__insert_bpf_prog_info()
27 p = &env->bpf_progs.infos.rb_node; in perf_env__insert_bpf_prog_info()
43 rb_insert_color(&info_node->rb_node, &env->bpf_progs.infos); in perf_env__insert_bpf_prog_info()
44 env->bpf_progs.infos_cnt++; in perf_env__insert_bpf_prog_info()
46 up_write(&env->bpf_progs.lock); in perf_env__insert_bpf_prog_info()
55 down_read(&env->bpf_progs.lock); in perf_env__find_bpf_prog_info()
56 n = env->bpf_progs.infos.rb_node; in perf_env__find_bpf_prog_info()
70 up_read(&env->bpf_progs.lock); in perf_env__find_bpf_prog_info()
81 down_write(&env->bpf_progs.lock); in perf_env__insert_btf()
82 p = &env->bpf_progs.btfs.rb_node; in perf_env__insert_btf()
[all …]
Dheader.c957 down_read(&env->bpf_progs.lock); in write_bpf_prog_info()
959 ret = do_write(ff, &env->bpf_progs.infos_cnt, in write_bpf_prog_info()
960 sizeof(env->bpf_progs.infos_cnt)); in write_bpf_prog_info()
964 root = &env->bpf_progs.infos; in write_bpf_prog_info()
987 up_read(&env->bpf_progs.lock); in write_bpf_prog_info()
1006 down_read(&env->bpf_progs.lock); in write_bpf_btf()
1008 ret = do_write(ff, &env->bpf_progs.btfs_cnt, in write_bpf_btf()
1009 sizeof(env->bpf_progs.btfs_cnt)); in write_bpf_btf()
1014 root = &env->bpf_progs.btfs; in write_bpf_btf()
1027 up_read(&env->bpf_progs.lock); in write_bpf_btf()
[all …]
Denv.h91 } bpf_progs; member
/Linux-v5.10/tools/perf/tests/
Dmaps.c40 struct map_def bpf_progs[] = { in test__maps__merge_in() local
69 for (i = 0; i < ARRAY_SIZE(bpf_progs); i++) { in test__maps__merge_in()
72 map = dso__new_map(bpf_progs[i].name); in test__maps__merge_in()
75 map->start = bpf_progs[i].start; in test__maps__merge_in()
76 map->end = bpf_progs[i].end; in test__maps__merge_in()