Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/util/
Denv.c30 down_write(&env->bpf_progs.lock); in perf_env__insert_bpf_prog_info()
31 p = &env->bpf_progs.infos.rb_node; in perf_env__insert_bpf_prog_info()
47 rb_insert_color(&info_node->rb_node, &env->bpf_progs.infos); in perf_env__insert_bpf_prog_info()
48 env->bpf_progs.infos_cnt++; in perf_env__insert_bpf_prog_info()
50 up_write(&env->bpf_progs.lock); in perf_env__insert_bpf_prog_info()
59 down_read(&env->bpf_progs.lock); in perf_env__find_bpf_prog_info()
60 n = env->bpf_progs.infos.rb_node; in perf_env__find_bpf_prog_info()
74 up_read(&env->bpf_progs.lock); in perf_env__find_bpf_prog_info()
86 down_write(&env->bpf_progs.lock); in perf_env__insert_btf()
87 p = &env->bpf_progs.btfs.rb_node; in perf_env__insert_btf()
[all …]
Dheader.c1046 down_read(&env->bpf_progs.lock); in write_bpf_prog_info()
1048 ret = do_write(ff, &env->bpf_progs.infos_cnt, in write_bpf_prog_info()
1049 sizeof(env->bpf_progs.infos_cnt)); in write_bpf_prog_info()
1053 root = &env->bpf_progs.infos; in write_bpf_prog_info()
1076 up_read(&env->bpf_progs.lock); in write_bpf_prog_info()
1088 down_read(&env->bpf_progs.lock); in write_bpf_btf()
1090 ret = do_write(ff, &env->bpf_progs.btfs_cnt, in write_bpf_btf()
1091 sizeof(env->bpf_progs.btfs_cnt)); in write_bpf_btf()
1096 root = &env->bpf_progs.btfs; in write_bpf_btf()
1109 up_read(&env->bpf_progs.lock); in write_bpf_btf()
[all …]
Denv.h109 } bpf_progs; member
/linux-6.1.9/tools/perf/tests/
Dmaps.c39 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()