Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/util/
Denv.c26 down_write(&env->bpf_progs.lock); in perf_env__insert_bpf_prog_info()
28 up_write(&env->bpf_progs.lock); in perf_env__insert_bpf_prog_info()
38 p = &env->bpf_progs.infos.rb_node; in __perf_env__insert_bpf_prog_info()
54 rb_insert_color(&info_node->rb_node, &env->bpf_progs.infos); in __perf_env__insert_bpf_prog_info()
55 env->bpf_progs.infos_cnt++; in __perf_env__insert_bpf_prog_info()
64 down_read(&env->bpf_progs.lock); in perf_env__find_bpf_prog_info()
65 n = env->bpf_progs.infos.rb_node; in perf_env__find_bpf_prog_info()
79 up_read(&env->bpf_progs.lock); in perf_env__find_bpf_prog_info()
87 down_write(&env->bpf_progs.lock); in perf_env__insert_btf()
89 up_write(&env->bpf_progs.lock); in perf_env__insert_btf()
[all …]
Dheader.c1050 down_read(&env->bpf_progs.lock); in write_bpf_prog_info()
1052 ret = do_write(ff, &env->bpf_progs.infos_cnt, in write_bpf_prog_info()
1053 sizeof(env->bpf_progs.infos_cnt)); in write_bpf_prog_info()
1057 root = &env->bpf_progs.infos; in write_bpf_prog_info()
1080 up_read(&env->bpf_progs.lock); in write_bpf_prog_info()
1092 down_read(&env->bpf_progs.lock); in write_bpf_btf()
1094 ret = do_write(ff, &env->bpf_progs.btfs_cnt, in write_bpf_btf()
1095 sizeof(env->bpf_progs.btfs_cnt)); in write_bpf_btf()
1100 root = &env->bpf_progs.btfs; in write_bpf_btf()
1113 up_read(&env->bpf_progs.lock); in write_bpf_btf()
[all …]
Denv.h109 } bpf_progs; member
/linux-6.6.21/tools/perf/tests/
Dmaps.c62 struct map_def bpf_progs[] = { in test__maps__merge_in() local
92 for (i = 0; i < ARRAY_SIZE(bpf_progs); i++) { in test__maps__merge_in()
95 map = dso__new_map(bpf_progs[i].name); in test__maps__merge_in()
98 map__set_start(map, bpf_progs[i].start); in test__maps__merge_in()
99 map__set_end(map, bpf_progs[i].end); in test__maps__merge_in()