Home
last modified time | relevance | path

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

/linux/tools/perf/util/
A Denv.c30 down_write(&env->bpf_progs.lock); 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()
74 up_read(&env->bpf_progs.lock); in perf_env__find_bpf_prog_info()
105 env->bpf_progs.btfs_cnt++; in perf_env__insert_btf()
131 up_read(&env->bpf_progs.lock); in perf_env__find_btf()
143 root = &env->bpf_progs.infos; in perf_env__purge_bpf()
156 env->bpf_progs.infos_cnt = 0; in perf_env__purge_bpf()
158 root = &env->bpf_progs.btfs; in perf_env__purge_bpf()
[all …]
A Dheader.c995 down_read(&env->bpf_progs.lock); in write_bpf_prog_info()
1002 root = &env->bpf_progs.infos; in write_bpf_prog_info()
1025 up_read(&env->bpf_progs.lock); in write_bpf_prog_info()
1037 down_read(&env->bpf_progs.lock); in write_bpf_btf()
1045 root = &env->bpf_progs.btfs; in write_bpf_btf()
1058 up_read(&env->bpf_progs.lock); in write_bpf_btf()
1730 root = &env->bpf_progs.infos; in print_bpf_prog_info()
1743 up_read(&env->bpf_progs.lock); in print_bpf_prog_info()
1754 root = &env->bpf_progs.btfs; in print_bpf_btf()
1765 up_read(&env->bpf_progs.lock); in print_bpf_btf()
[all …]
A Denv.h108 } bpf_progs; member
/linux/tools/perf/tests/
A 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()

Completed in 14 milliseconds