Home
last modified time | relevance | path

Searched refs:nr_syms (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/tools/lib/bpf/
Delf.c72 size_t nr_syms; member
111 iter->nr_syms = iter->syms->d_size / sh.sh_entsize; in elf_sym_iter_new()
125 for (idx = iter->next_sym_idx; idx < iter->nr_syms; idx++) { in elf_sym_iter_next()
Dlibbpf.c813 size_t sec_sz = sec_data->d_size, sec_off, prog_sz, nr_syms; in bpf_object__add_programs() local
820 nr_syms = symbols->d_size / sizeof(Elf64_Sym); in bpf_object__add_programs()
822 for (i = 0; i < nr_syms; i++) { in bpf_object__add_programs()
/Linux-v6.6/tools/perf/tests/
Dhists_common.c77 size_t nr_syms; member
138 for (k = 0; k < fake_symbols[i].nr_syms; k++) { in setup_fake_machine()
/Linux-v6.6/tools/perf/util/
Dlock-contention.h11 int nr_syms; member
Dbpf_lock_contention.c55 if (con->filters->nr_syms) { in lock_contention_prepare()
60 for (i = 0; i < con->filters->nr_syms; i++) { in lock_contention_prepare()
Dsymbol-elf.c101 #define elf_symtab__for_each_symbol(syms, nr_syms, idx, sym) \ argument
103 idx < nr_syms; \
1490 uint32_t nr_syms; in dso__load_sym_internal() local
1551 nr_syms = shdr.sh_size / shdr.sh_entsize; in dso__load_sym_internal()
1560 elf_symtab__for_each_symbol(syms, nr_syms, idx, sym) { in dso__load_sym_internal()
1587 elf_symtab__for_each_symbol(syms, nr_syms, idx, sym) { in dso__load_sym_internal()
Dsymbol.c1608 int nr_syms = 0; in dso__load_perf_map() local
1646 nr_syms++; in dso__load_perf_map()
1652 return nr_syms; in dso__load_perf_map()
/Linux-v6.6/tools/perf/
Dbuiltin-lock.c1068 for (i = 0; i < filters.nr_syms; i++) { in report_lock_contention_begin_event()
1626 for (int i = 0; i < filters.nr_syms; i++) in lock_filter_finish()
1630 filters.nr_syms = 0; in lock_filter_finish()
2359 tmp = realloc(filters.syms, (filters.nr_syms + 1) * sizeof(*filters.syms)); in add_lock_sym()
2366 tmp[filters.nr_syms++] = sym; in add_lock_sym()