/openbmc/linux/tools/perf/util/ |
H A D | dso.h | 103 #define DSO__SWAP(dso, type, val) \ argument 147 struct dso { struct 164 enum dso_space_type kernel; argument 165 enum dso_swap_type needs_swap; argument 166 enum dso_binary_type symtab_type; argument 167 enum dso_binary_type binary_type; argument 168 enum dso_load_errno load_errno; argument 192 /* dso data file */ argument 193 struct { 217 struct dso_id id; argument [all …]
|
H A D | dso.c | 42 char dso__symtab_origin(const struct dso *dso) in dso__symtab_origin() 640 static void close_dso(struct dso *dso) in close_dso() 647 struct dso *dso; in close_first_dso() local 714 void dso__data_close(struct dso *dso) in dso__data_close() 820 static int bpf_size(struct dso *dso) in bpf_size() 836 dso_cache__free(struct dso *dso) in dso_cache__free() 1212 struct dso *dso = dso__new(name); in dso__new_map() local 1298 bool dso__loaded(const struct dso *dso) in dso__loaded() 1359 void dso__delete(struct dso *dso) in dso__delete() 1391 struct dso *dso__get(struct dso *dso) in dso__get() [all …]
|
H A D | map.c | 131 struct dso *dso, *header_bid_dso; in map__new() local 254 struct dso *dso = map__dso(map); in __map__is_bpf_prog() local 271 struct dso *dso = map__dso(map); in __map__is_bpf_image() local 287 const struct dso *dso = map__dso(map); in __map__is_ool() local 319 struct dso *dso = map__dso(map); in map__fixup_start() local 332 struct dso *dso = map__dso(map); in map__fixup_end() local 346 struct dso *dso = map__dso(map); in map__load() local 395 struct dso *dso; in map__find_symbol_by_name_idx() local 418 struct dso *dso = map__dso(from); in map__clone() local 434 const struct dso *dso = map__dso(map); in map__fprintf() local [all …]
|
H A D | dsos.c | 51 static void dso__inject_id(struct dso *dso, struct dso_id *id) in dso__inject_id() 131 struct dso *__dsos__findnew_link_by_longname_id(struct rb_root *root, struct dso *dso, in __dsos__findnew_link_by_longname_id() 180 void __dsos__add(struct dsos *dsos, struct dso *dso) in __dsos__add() 207 void dsos__add(struct dsos *dsos, struct dso *dso) in dsos__add() 237 static void dso__set_basename(struct dso *dso) in dso__set_basename() 271 struct dso *dso = dso__new_id(name, id); in __dsos__addnew_id() local 289 struct dso *dso = __dsos__find_id(dsos, name, id, false); in __dsos__findnew_id() local 299 struct dso *dso; in dsos__findnew_id() local 307 bool (skip)(struct dso *dso, int parm), int parm) in __dsos__fprintf_buildid()
|
H A D | vdso.c | 130 struct dso *dso; in __machine__addnew_vdso() local 150 struct dso *dso = map__dso(rb_node->map); in machine__thread_dso_type() local 242 struct dso *dso; in __machine__findnew_compat() local 260 struct dso **dso) in __machine__findnew_vdso_compat() 294 struct dso *dso = NULL; in machine__find_vdso() local 325 struct dso *dso = NULL; in machine__findnew_vdso() local 359 bool dso__is_vdso(struct dso *dso) in dso__is_vdso()
|
H A D | symbol.c | 507 void dso__reset_find_symbol_cache(struct dso *dso) in dso__reset_find_symbol_cache() 513 void dso__insert_symbol(struct dso *dso, struct symbol *sym) in dso__insert_symbol() 532 struct symbol *dso__find_symbol(struct dso *dso, u64 addr) in dso__find_symbol() 547 struct symbol *dso__first_symbol(struct dso *dso) in dso__first_symbol() 552 struct symbol *dso__last_symbol(struct dso *dso) in dso__last_symbol() 584 void dso__sort_by_name(struct dso *dso) in dso__sort_by_name() 721 struct dso *dso = arg; in map__process_kallsym_symbol() local 1131 struct dso *dso; in do_validate_kcore_modules() local 1215 struct dso *dso; member 1743 int dso__load(struct dso *dso, struct map *map) in dso__load() [all …]
|
H A D | srcline.c | 30 static const char *dso__name(struct dso *dso) in dso__name() 92 static struct symbol *new_inline_sym(struct dso *dso, in new_inline_sym() 287 static int inline_list__append_dso_a2l(struct dso *dso, in inline_list__append_dso_a2l() 302 char **file, unsigned int *line, struct dso *dso, in addr2line() 361 void dso__free_a2l(struct dso *dso) in dso__free_a2l() 622 static int inline_list__append_record(struct dso *dso, in inline_list__append_record() 636 struct dso *dso, in addr2line() 779 void dso__free_a2l(struct dso *dso) in dso__free_a2l() 794 struct dso *dso, struct symbol *sym) in addr2inlines() 817 char *__get_srcline(struct dso *dso, u64 addr, struct symbol *sym, in __get_srcline() [all …]
|
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 | maps.c | 67 const struct dso *dso = map__dso(map); in maps__insert() local 502 const struct dso *dso = map__dso(*(const struct map **)b); in map__strcmp_name() local 563 const struct dso *dso = map__dso(RC_CHK_ACCESS(maps)->last_search_by_name); in maps__find_by_name() local 581 struct dso *dso; in maps__find_by_name() local
|
H A D | machine.c | 840 struct dso *dso; in machine__findnew_module_dso() local 898 struct dso *dso; in machine__process_ksymbol_register() local 975 struct dso *dso = map__dso(map); in machine__process_ksymbol_unregister() local 1045 struct dso *dso; in machine__addnew_module_map() local 1463 struct dso *dso = map__dso(map); in machine__load_kallsyms() local 1482 struct dso *dso = map__dso(map); in machine__load_vmlinux_path() local 1528 struct dso *dso; in maps__set_module_path() local 1769 struct dso *dso; in machine__uses_kcore() local 1844 struct dso *dso; in machine__process_kernel_mmap_event() local 2294 struct dso *dso; in callchain_srcline() local [all …]
|
H A D | unwind-libunwind-local.c | 284 static int unwind_spec_ehframe(struct dso *dso, struct machine *machine, in unwind_spec_ehframe() 305 static int read_unwind_spec_eh_frame(struct dso *dso, struct unwind_info *ui, in read_unwind_spec_eh_frame() 348 static int read_unwind_spec_debug_frame(struct dso *dso, in read_unwind_spec_debug_frame() 434 struct dso *dso; in find_proc_info() local 529 struct dso *dso; in access_dso_mem() local
|
H A D | symbol-elf.c | 305 static char *demangle_sym(struct dso *dso, int kmodule, const char *elf_name) in demangle_sym() 402 static bool get_ifunc_name(Elf *elf, struct dso *dso, GElf_Ehdr *ehdr, in get_ifunc_name() 433 static bool get_plt_sizes(struct dso *dso, GElf_Ehdr *ehdr, GElf_Shdr *shdr_plt, in get_plt_sizes() 487 struct dso *dso; member 632 static int dso__synthesize_plt_got_symbols(struct dso *dso, Elf *elf, in dso__synthesize_plt_got_symbols() 671 int dso__synthesize_plt_symbols(struct dso *dso, struct symsrc *ss) in dso__synthesize_plt_symbols() 846 char *dso__demangle_sym(struct dso *dso, int kmodule, const char *elf_name) in dso__demangle_sym() 1173 static int dso__swap_init(struct dso *dso, unsigned char eidata) in dso__swap_init() 1228 int symsrc__init(struct symsrc *ss, struct dso *dso, const char *name, in symsrc__init() 1366 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
|
/openbmc/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
|
/openbmc/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
|
/openbmc/linux/tools/perf/tests/ |
H A D | dso-data.c | 106 static int dso__data_fd(struct dso *dso, struct machine *machine) in dso__data_fd() 119 struct dso *dso; in test__dso_data() local 229 struct dso *dso = dsos[i]; in dsos__delete() local 272 struct dso *dso = 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 | symbols.c | 65 static int test_dso(struct dso *dso) in test_dso() 104 struct dso *dso; in test_file() local
|
H A D | vmlinux-kallsyms.c | 296 struct dso *dso = map__dso(map); in test__vmlinux_matches_kallsyms() local 330 struct dso *dso = map__dso(map); in test__vmlinux_matches_kallsyms() local
|
H A D | pe-file-parsing.c | 34 struct dso *dso; in run_dir() local
|
/openbmc/linux/tools/perf/ |
H A D | builtin-buildid-list.c | 27 const struct dso *dso = map__dso(map); in buildid__map_cb() local 77 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
|
H A D | builtin-inject.c | 419 struct dso *dso; in findnew_dso() local 464 struct dso *dso; in perf_event__repipe_buildid_mmap() local 489 struct dso *dso; in perf_event__repipe_mmap2() local 539 struct dso *dso; in perf_event__repipe_buildid_mmap2() local 630 static int dso__read_build_id(struct dso *dso) in dso__read_build_id() 691 struct dso *dso) in perf_inject__lookup_known_build_id() 716 static int dso__inject_build_id(struct dso *dso, struct perf_tool *tool, in dso__inject_build_id() 764 struct dso *dso = map__dso(al.map); in perf_event__inject_buildid() local 1143 static bool dso__is_in_kernel_space(struct dso *dso) in dso__is_in_kernel_space() 1174 static int synthesize_build_id(struct perf_inject *inject, struct dso *dso, pid_t machine_pid) in synthesize_build_id() [all …]
|
/openbmc/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
|
/openbmc/linux/tools/perf/scripts/python/ |
H A D | stackcollapse.py | 72 def tidy_function_name(sym, dso): argument
|