Searched refs:nr_syms (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/tools/lib/bpf/ |
D | elf.c | 72 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()
|
D | libbpf.c | 813 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/ |
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-v6.6/tools/perf/util/ |
D | lock-contention.h | 11 int nr_syms; member
|
D | bpf_lock_contention.c | 55 if (con->filters->nr_syms) { in lock_contention_prepare() 60 for (i = 0; i < con->filters->nr_syms; i++) { in lock_contention_prepare()
|
D | symbol-elf.c | 101 #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()
|
D | symbol.c | 1608 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/ |
D | builtin-lock.c | 1068 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()
|