Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/util/
Denv.c28 down_write(&env->bpf_progs.lock); in perf_env__insert_bpf_prog_info()
30 up_write(&env->bpf_progs.lock); in perf_env__insert_bpf_prog_info()
40 p = &env->bpf_progs.infos.rb_node; in __perf_env__insert_bpf_prog_info()
56 rb_insert_color(&info_node->rb_node, &env->bpf_progs.infos); in __perf_env__insert_bpf_prog_info()
57 env->bpf_progs.infos_cnt++; in __perf_env__insert_bpf_prog_info()
66 down_read(&env->bpf_progs.lock); in perf_env__find_bpf_prog_info()
67 n = env->bpf_progs.infos.rb_node; in perf_env__find_bpf_prog_info()
81 up_read(&env->bpf_progs.lock); in perf_env__find_bpf_prog_info()
89 down_write(&env->bpf_progs.lock); in perf_env__insert_btf()
91 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.h119 } bpf_progs; member
/linux-6.12.1/tools/perf/tests/
Dmaps.c77 struct map_def bpf_progs[] = { in test__maps__merge_in() local
107 for (i = 0; i < ARRAY_SIZE(bpf_progs); i++) { in test__maps__merge_in()
110 map = dso__new_map(bpf_progs[i].name); in test__maps__merge_in()
113 map__set_start(map, bpf_progs[i].start); in test__maps__merge_in()
114 map__set_end(map, bpf_progs[i].end); in test__maps__merge_in()