Home
last modified time | relevance | path

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

/linux/tools/perf/tests/
H A Dhists_common.c77 size_t nr_syms; member
138 for (k = 0; k < fake_symbols[i].nr_syms; k++) { in setup_fake_machine()
/linux/tools/lib/bpf/
H A Delf.c89 size_t nr_syms; member
129 iter->nr_syms = iter->syms->d_size / sh.sh_entsize; in elf_sym_iter_new()
165 for (idx = iter->next_sym_idx; idx < iter->nr_syms; idx++) { in elf_sym_iter_next()
H A Dlibbpf.c866 size_t sec_sz = sec_data->d_size, sec_off, prog_sz, nr_syms; in bpf_object__add_programs() local
873 nr_syms = symbols->d_size / sizeof(Elf64_Sym); in bpf_object__add_programs()
875 for (i = 0; i < nr_syms; i++) { in bpf_object__add_programs()
/linux/tools/perf/util/
H A Dlock-contention.h11 int nr_syms; member
H A Dbpf_lock_contention.c67 if (con->filters->nr_syms) { in lock_contention_prepare()
72 for (i = 0; i < con->filters->nr_syms; i++) { in lock_contention_prepare()
H A Dsymbol-elf.c102 #define elf_symtab__for_each_symbol(syms, nr_syms, idx, sym) \ argument
104 idx < nr_syms; \
1548 uint32_t nr_syms; in dso__load_sym_internal()
1611 nr_syms = shdr.sh_size / shdr.sh_entsize; in dso__load_sym_internal()
1620 elf_symtab__for_each_symbol(syms, nr_syms, idx, sym) { in dso__load_sym_internal()
1652 elf_symtab__for_each_symbol(syms, nr_syms, idx, sym) { in dso__load_sym_internal()
1555 uint32_t nr_syms; dso__load_sym_internal() local
H A Dsymbol.c1517 int nr_syms = 0; in dso__load_perf_map() local
1555 nr_syms++; in dso__load_perf_map()
1561 return nr_syms; in dso__load_perf_map()
/linux/tools/perf/
H A Dbuiltin-lock.c1086 for (i = 0; i < filters.nr_syms; i++) { in report_lock_contention_begin_event()
1641 for (int i = 0; i < filters.nr_syms; i++) in lock_filter_finish()
1645 filters.nr_syms = 0; in lock_filter_finish()
2403 tmp = realloc(filters.syms, (filters.nr_syms + 1) * sizeof(*filters.syms)); in add_lock_sym()
2410 tmp[filters.nr_syms++] = sym; in add_lock_sym()