/linux/tools/perf/util/ |
H A D | dso.h | 104 #define DSO__SWAP(dso, type, val) \ argument 151 struct dso *dso; member 171 DECLARE_RC_STRUCT(dso) { in DECLARE_RC_STRUCT() argument 240 #define dso__for_each_symbol(dso, pos, n) \ argument 243 static inline void *dso__a2l(const struct dso *dso) in dso__a2l() 338 static inline int dso__comp(const struct dso *dso) in dso__comp() 383 static inline bool dso__hit(const struct dso *dso) in dso__hit() 388 static inline void dso__set_hit(struct dso *dso) in dso__set_hit() 525 static inline u8 dso__rel(const struct dso *dso) in dso__rel() 657 static inline void __dso__zput(struct dso **dso) in __dso__zput() [all …]
|
H A D | dso.c | 49 char dso__symtab_origin(const struct dso *dso) in dso__symtab_origin() 655 static void close_dso(struct dso *dso) in close_dso() 663 struct dso *dso; in close_first_dso() local 735 void dso__data_close(struct dso *dso) in dso__data_close() 843 static int bpf_size(struct dso *dso) in bpf_size() 860 dso_cache__free(struct dso *dso) in dso_cache__free() 1236 struct dso *dso = dso__new(name); in dso__new_map() local 1405 bool dso__loaded(const struct dso *dso) in dso__loaded() 1476 void dso__delete(struct dso *dso) in dso__delete() 1510 struct dso *dso__get(struct dso *dso) in dso__get() [all …]
|
H A D | map.c | 135 struct dso *dso, *header_bid_dso; in map__new() local 253 struct dso *dso = map__dso(map); in __map__is_bpf_prog() local 270 struct dso *dso = map__dso(map); in __map__is_bpf_image() local 286 const struct dso *dso = map__dso(map); in __map__is_ool() local 318 struct dso *dso = map__dso(map); in map__fixup_start() local 331 struct dso *dso = map__dso(map); in map__fixup_end() local 345 struct dso *dso = map__dso(map); in map__load() local 394 struct dso *dso; in map__find_symbol_by_name_idx() local 417 struct dso *dso = map__dso(from); in map__clone() local 433 const struct dso *dso = map__dso(map); in map__fprintf() local [all …]
|
H A D | dsos.c | 30 struct dso *dso = dsos->dsos[i]; in dsos__purge() local 52 int (*cb)(struct dso *dso, void *data), in __dsos__for_each_dso() 56 struct dso *dso = dsos->dsos[i]; in __dsos__for_each_dso() local 146 const struct dso *dso = *((const struct dso **)vdso); in dsos__cmp_key_long_name_id() local 172 struct dso *dso; in __dsos__find_by_longname_id() local 195 int __dsos__add(struct dsos *dsos, struct dso *dso) in __dsos__add() 235 int dsos__add(struct dsos *dsos, struct dso *dso) in dsos__add() 292 static void dso__set_basename(struct dso *dso) in dso__set_basename() 326 struct dso *dso = dso__new_id(name, id); in __dsos__addnew_id() local 352 struct dso *dso; in dsos__findnew_id() local [all …]
|
H A D | vdso.c | 130 struct dso *dso; in __machine__addnew_vdso() local 149 struct dso *dso = map__dso(map); in machine__thread_dso_type_maps_cb() local 251 struct dso *dso; in __machine__findnew_compat() local 267 struct dso **dso) in __machine__findnew_vdso_compat() 301 struct dso *dso = NULL; in machine__find_vdso() local 334 struct dso *dso = NULL; in machine__findnew_vdso() local 364 bool dso__is_vdso(struct dso *dso) in dso__is_vdso()
|
H A D | symbol.c | 534 void dso__reset_find_symbol_cache(struct dso *dso) in dso__reset_find_symbol_cache() 540 void dso__insert_symbol(struct dso *dso, struct symbol *sym) in dso__insert_symbol() 559 struct symbol *dso__find_symbol(struct dso *dso, u64 addr) in dso__find_symbol() 574 struct symbol *dso__first_symbol(struct dso *dso) in dso__first_symbol() 579 struct symbol *dso__last_symbol(struct dso *dso) in dso__last_symbol() 613 void dso__sort_by_name(struct dso *dso) in dso__sort_by_name() 751 struct dso *dso = arg; in map__process_kallsym_symbol() local 1156 struct dso *dso; in do_validate_kcore_modules_cb() local 1251 struct dso *dso; member 1785 int dso__load(struct dso *dso, struct map *map) in dso__load() [all …]
|
H A D | srcline.c | 34 static const char *srcline_dso_name(struct dso *dso) in srcline_dso_name() 96 static struct symbol *new_inline_sym(struct dso *dso, in new_inline_sym() 152 char **file, unsigned int *line, struct dso *dso, in addr2line() 344 static int inline_list__append_dso_a2l(struct dso *dso, in inline_list__append_dso_a2l() 359 char **file, unsigned int *line, struct dso *dso, in addr2line() 418 void dso__free_a2l(struct dso *dso) in dso__free_a2l() 679 static int inline_list__append_record(struct dso *dso, in inline_list__append_record() 693 struct dso *dso, in addr2line() 837 void dso__free_a2l(struct dso *dso) in dso__free_a2l() 852 struct dso *dso, struct symbol *sym) in addr2inlines() [all …]
|
H A D | llvm-c-helpers.cpp | 142 make_symbol_relative_string(struct dso *dso, const char *sym_name, in make_symbol_relative_string() 164 char *llvm_name_for_code(struct dso *dso, const char *dso_name, u64 addr) in llvm_name_for_code() 182 char *llvm_name_for_data(struct dso *dso, const char *dso_name, u64 addr) in llvm_name_for_data()
|
H A D | unwind-libdw.c | 29 const struct dso *dso = *userdata; in __find_debuginfo() local 48 struct dso *dso = NULL; in __report_module() local 163 struct dso *dso; in access_dso_mem() local
|
H A D | unwind-libunwind-local.c | 284 static int unwind_spec_ehframe(struct dso *dso, struct machine *machine, in unwind_spec_ehframe() 306 struct dso *dso; member 322 static int read_unwind_spec_eh_frame(struct dso *dso, struct unwind_info *ui, in read_unwind_spec_eh_frame() 362 static int read_unwind_spec_debug_frame(struct dso *dso, in read_unwind_spec_debug_frame() 453 struct dso *dso; in find_proc_info() local 548 struct dso *dso; in access_dso_mem() local
|
H A D | machine.c | 688 struct dso *dso = NULL; in machine__process_ksymbol_register() local 757 struct dso *dso = map__dso(map); in machine__process_ksymbol_unregister() local 785 struct dso *dso = map ? map__dso(map) : NULL; in machine__process_text_poke() local 828 struct dso *dso; in machine__addnew_module_map() local 1042 static u64 find_entry_trampoline(struct dso *dso) in find_entry_trampoline() 1260 struct dso *dso = map__dso(map); in machine__load_kallsyms() local 1279 struct dso *dso = map__dso(map); in machine__load_vmlinux_path() local 1316 static bool is_kmod_dso(struct dso *dso) in is_kmod_dso() 1325 struct dso *dso; in maps__set_module_path() local 2030 struct dso *dso; in callchain_srcline() local [all …]
|
H A D | symbol-elf.c | 306 static char *demangle_sym(struct dso *dso, int kmodule, const char *elf_name) in demangle_sym() 403 static bool get_ifunc_name(Elf *elf, struct dso *dso, GElf_Ehdr *ehdr, in get_ifunc_name() 434 static bool get_plt_sizes(struct dso *dso, GElf_Ehdr *ehdr, GElf_Shdr *shdr_plt, in get_plt_sizes() 488 struct dso *dso; member 633 static int dso__synthesize_plt_got_symbols(struct dso *dso, Elf *elf, in dso__synthesize_plt_got_symbols() 672 int dso__synthesize_plt_symbols(struct dso *dso, struct symsrc *ss) in dso__synthesize_plt_symbols() 847 char *dso__demangle_sym(struct dso *dso, int kmodule, const char *elf_name) in dso__demangle_sym() 1174 static int dso__swap_init(struct dso *dso, unsigned char eidata) in dso__swap_init() 1229 int symsrc__init(struct symsrc *ss, struct dso *dso, const char *name, in symsrc__init() 1419 static int dso__process_kernel_symbol(struct dso *dso, struct map *map, in dso__process_kernel_symbol() [all …]
|
H A D | db-export.c | 146 int db_export__dso(struct db_export *dbe, struct dso *dso, in db_export__dso() 161 struct dso *dso) in db_export__symbol() 182 struct dso *dso = map__dso(al->map); in db_ids_from_al() local
|
H A D | build-id.c | 234 char *__dso__build_id_filename(const struct dso *dso, char *bf, size_t size, in __dso__build_id_filename() 265 char *dso__build_id_filename(const struct dso *dso, char *bf, size_t size, in dso__build_id_filename() 304 static int machine__write_buildid_table_cb(struct dso *dso, void *data) in machine__write_buildid_table_cb() 842 static bool dso__build_id_mismatch(struct dso *dso, const char *name) in dso__build_id_mismatch() 856 static int dso__cache_build_id(struct dso *dso, struct machine *machine, in dso__cache_build_id()
|
H A D | annotate-data.c | 317 static struct annotated_data_type *dso__findnew_data_type(struct dso *dso, in dso__findnew_data_type() 620 struct dso *dso = map__dso(dloc->ms->map); in global_var__find() local 633 struct dso *dso = map__dso(dloc->ms->map); in global_var__add() local 754 struct dso *dso = map__dso(dloc->ms->map); in get_global_var_type() local 1604 struct dso *dso = map__dso(dloc->ms->map); in find_data_type() local 1720 struct dso *dso = map__dso(he->ms.map); in print_annotated_data_header() local
|
/linux/tools/perf/tests/ |
H A D | symbols.c | 45 struct dso *dso; member 59 static struct map *find_module_map(struct machine *machine, struct dso *dso) in find_module_map() 78 struct dso *dso = machine__findnew_dso(ti->machine, filename); in create_map() local 109 static int test_dso(struct dso *dso) in test_dso() 144 static int subdivided_dso_cb(struct dso *dso, struct machine *machine __maybe_unused, void *d) in subdivided_dso_cb() 155 static int process_subdivided_dso(struct machine *machine, struct dso *dso) in process_subdivided_dso() 168 struct dso *dso; in test_file() local
|
H A D | dso-data.c | 107 static int dso__data_fd(struct dso *dso, struct machine *machine) in dso__data_fd() 120 struct dso *dso; in test__dso_data() local 212 struct dso *dso; in dsos__create() local 228 struct dso *dso = dsos->dsos[i]; in dsos__delete() local 270 struct dso *dso = machine.dsos.dsos[i]; in test__dso_data_cache() local
|
H A D | hists_common.c | 129 struct dso *dso; in setup_fake_machine() local 182 struct dso *dso = map__dso(he->ms.map); in print_hists_in() local 211 struct dso *dso = map__dso(he->ms.map); in print_hists_out() local
|
H A D | vmlinux-kallsyms.c | 123 struct dso *dso = map__dso(map); in test__vmlinux_matches_kallsyms_cb1() local 156 struct dso *dso = map__dso(map); in test__vmlinux_matches_kallsyms_cb2() local
|
/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | EventClass.py | 26 def create_event(name, comm, dso, symbol, raw_buf): argument 38 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_GENERIC): argument 58 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS): argument 87 def __init__(self, name, comm, dso, symbol, raw_buf, ev_type=EVTYPE_PEBS_LL): argument
|
/linux/tools/perf/bench/ |
H A D | inject-buildid.c | 82 struct bench_dso *dso = &dsos[nr_dsos]; in add_dso() local 124 struct bench_dso *dso = &dsos[i]; in release_dso() local 132 static u64 dso_map_addr(struct bench_dso *dso) in dso_map_addr() 173 static ssize_t synthesize_mmap(struct bench_data *data, struct bench_dso *dso, u64 timestamp) in synthesize_mmap() 219 static ssize_t synthesize_sample(struct bench_data *data, struct bench_dso *dso, u64 timestamp) in synthesize_sample() 366 struct bench_dso *dso = &dsos[idx]; in inject_build_id() local
|
/linux/tools/perf/ |
H A D | builtin-buildid-list.c | 27 const struct dso *dso = map__dso(map); in buildid__map_cb() local 79 static bool dso__skip_buildid(struct dso *dso, int with_hits) in dso__skip_buildid()
|
H A D | builtin-kallsyms.c | 31 const struct dso *dso; in __cmd_kallsyms() local
|
/linux/tools/perf/arch/powerpc/util/ |
H A D | skip-callchain-idx.c | 152 static int check_return_addr(struct dso *dso, u64 map_start, Dwarf_Addr pc) in check_return_addr() 245 struct dso *dso = NULL; in arch_skip_callchain_idx() local
|
/linux/tools/perf/scripts/python/ |
H A D | stackcollapse.py | 72 def tidy_function_name(sym, dso): argument
|