Searched refs:nr_syms (Results 1 – 8 of 8) sorted by relevance
/linux/tools/perf/tests/ |
H A D | hists_common.c | 77 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 D | elf.c | 89 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 D | libbpf.c | 866 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 D | lock-contention.h | 11 int nr_syms; member
|
H A D | bpf_lock_contention.c | 67 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 D | symbol-elf.c | 102 #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 D | symbol.c | 1517 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 D | builtin-lock.c | 1086 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()
|