Home
last modified time | relevance | path

Searched defs:dso (Results 1 – 25 of 111) sorted by relevance

12345

/kernel/linux/linux-5.10/tools/perf/util/
Ddso.h103 #define DSO__SWAP(dso, type, val) \ argument
147 struct dso { struct
163 enum dso_space_type kernel; argument
164 enum dso_swap_type needs_swap; argument
165 enum dso_binary_type symtab_type; argument
166 enum dso_binary_type binary_type; argument
167 enum dso_load_errno load_errno; argument
189 /* dso data file */ argument
212 struct dso_id id; argument
219 * @dso: the 'struct dso *' in which symbols itereated argument
[all …]
Ddso.c39 char dso__symtab_origin(const struct dso *dso) in dso__symtab_origin()
67 int dso__read_binary_type_filename(const struct dso *dso, in dso__read_binary_type_filename()
274 bool dso__needs_decompress(struct dso *dso) in dso__needs_decompress()
280 static int decompress_kmodule(struct dso *dso, const char *name, in decompress_kmodule()
329 int dso__decompress_kmodule_fd(struct dso *dso, const char *name) in dso__decompress_kmodule_fd()
334 int dso__decompress_kmodule_path(struct dso *dso, const char *name, in dso__decompress_kmodule_path()
423 void dso__set_module_info(struct dso *dso, struct kmod_path *m, in dso__set_module_info()
447 static void dso__list_add(struct dso *dso) in dso__list_add()
453 static void dso__list_del(struct dso *dso) in dso__list_del()
484 static int __open_dso(struct dso *dso, struct machine *machine) in __open_dso()
[all …]
Ddsos.c48 static void dso__inject_id(struct dso *dso, struct dso_id *id) in dso__inject_id()
119 struct dso *__dsos__findnew_link_by_longname_id(struct rb_root *root, struct dso *dso, in __dsos__findnew_link_by_longname_id()
168 void __dsos__add(struct dsos *dsos, struct dso *dso) in __dsos__add()
195 void dsos__add(struct dsos *dsos, struct dso *dso) in dsos__add()
225 static void dso__set_basename(struct dso *dso) in dso__set_basename()
259 struct dso *dso = dso__new_id(name, id); in __dsos__addnew_id() local
277 struct dso *dso = __dsos__find_id(dsos, name, id, false); in __dsos__findnew_id() local
287 struct dso *dso; in dsos__findnew_id() local
295 bool (skip)(struct dso *dso, int parm), int parm) in __dsos__fprintf_buildid()
Dvdso.c130 struct dso *dso; in __machine__addnew_vdso() local
150 struct dso *dso = map->dso; in machine__thread_dso_type() local
241 struct dso *dso; in __machine__findnew_compat() local
259 struct dso **dso) in __machine__findnew_vdso_compat()
293 struct dso *dso = NULL; in machine__find_vdso() local
324 struct dso *dso = NULL; in machine__findnew_vdso() local
358 bool dso__is_vdso(struct dso *dso) in dso__is_vdso()
Dsymbol.c517 void dso__reset_find_symbol_cache(struct dso *dso) in dso__reset_find_symbol_cache()
523 void dso__insert_symbol(struct dso *dso, struct symbol *sym) in dso__insert_symbol()
535 void dso__delete_symbol(struct dso *dso, struct symbol *sym) in dso__delete_symbol()
542 struct symbol *dso__find_symbol(struct dso *dso, u64 addr) in dso__find_symbol()
552 struct symbol *dso__first_symbol(struct dso *dso) in dso__first_symbol()
557 struct symbol *dso__last_symbol(struct dso *dso) in dso__last_symbol()
578 struct symbol *dso__find_symbol_by_name(struct dso *dso, const char *name) in dso__find_symbol_by_name()
588 void dso__sort_by_name(struct dso *dso) in dso__sort_by_name()
716 struct dso *dso = arg; in map__process_kallsym_symbol() local
744 static int dso__load_all_kallsyms(struct dso *dso, const char *filename) in dso__load_all_kallsyms()
[all …]
Dsrcline.c21 static const char *dso__name(struct dso *dso) in dso__name()
83 static struct symbol *new_inline_sym(struct dso *dso, in new_inline_sym()
278 static int inline_list__append_dso_a2l(struct dso *dso, in inline_list__append_dso_a2l()
293 char **file, unsigned int *line, struct dso *dso, in addr2line()
352 void dso__free_a2l(struct dso *dso) in dso__free_a2l()
365 struct dso *dso, struct symbol *sym) in addr2inlines()
519 char *__get_srcline(struct dso *dso, u64 addr, struct symbol *sym, in __get_srcline()
569 char *get_srcline_split(struct dso *dso, u64 addr, unsigned *line) in get_srcline_split()
602 char *get_srcline(struct dso *dso, u64 addr, struct symbol *sym, in get_srcline()
677 struct inline_node *dso__parse_addr_inlines(struct dso *dso, u64 addr, in dso__parse_addr_inlines()
/kernel/linux/linux-6.6/tools/perf/util/
Ddso.h103 #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 …]
Ddso.c42 char dso__symtab_origin(const struct dso *dso) in dso__symtab_origin()
70 bool dso__is_object_file(const struct dso *dso) in dso__is_object_file()
103 int dso__read_binary_type_filename(const struct dso *dso, in dso__read_binary_type_filename()
310 bool dso__needs_decompress(struct dso *dso) in dso__needs_decompress()
359 static int decompress_kmodule(struct dso *dso, const char *name, in decompress_kmodule()
372 int dso__decompress_kmodule_fd(struct dso *dso, const char *name) in dso__decompress_kmodule_fd()
377 int dso__decompress_kmodule_path(struct dso *dso, const char *name, in dso__decompress_kmodule_path()
466 void dso__set_module_info(struct dso *dso, struct kmod_path *m, in dso__set_module_info()
490 static void dso__list_add(struct dso *dso) in dso__list_add()
496 static void dso__list_del(struct dso *dso) in dso__list_del()
[all …]
Dmap.c105 void map__init(struct map *map, u64 start, u64 end, u64 pgoff, struct dso *dso) in map__init()
131 struct dso *dso, *header_bid_dso; in map__new() local
221 struct map *map__new2(u64 start, struct dso *dso) in map__new2()
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
[all …]
Ddsos.c51 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()
Dvdso.c130 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()
Dsymbol.c507 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()
525 void dso__delete_symbol(struct dso *dso, struct symbol *sym) in dso__delete_symbol()
532 struct symbol *dso__find_symbol(struct dso *dso, u64 addr) in dso__find_symbol()
542 struct symbol *dso__find_symbol_nocache(struct dso *dso, u64 addr) in dso__find_symbol_nocache()
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()
562 struct symbol *dso__next_symbol_by_name(struct dso *dso, size_t *idx) in dso__next_symbol_by_name()
574 struct symbol *dso__find_symbol_by_name(struct dso *dso, const char *name, size_t *idx) in dso__find_symbol_by_name()
584 void dso__sort_by_name(struct dso *dso) in dso__sort_by_name()
[all …]
Dsrcline.c30 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 …]
Dunwind-libdw.c29 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
/kernel/liteos_m/components/dynlink/
Dlos_dynlink.c91 DynSharedObj *dso = NULL; in OsIsPreLoaded() local
222 DynSharedObj *dso = NULL; in OsLoadInit() local
350 STATIC INT32 OsLoadELFFile(DynSharedObj *dso, UINT32 boundary) in OsLoadELFFile()
384 STATIC INT32 OsLoadLibrary(DynSharedObj *dso) in OsLoadLibrary()
412 STATIC INT32 OsGetDynBase(DynSharedObj *dso) in OsGetDynBase()
430 STATIC INT32 OsParseDynamic(DynSharedObj *dso) in OsParseDynamic()
559 STATIC UINTPTR OsFindSym(const DynSharedObj *dso, INT32 symIdx) in OsFindSym()
581 STATIC INT32 OsDoReloc(const DynSharedObj *dso, INT32 type, UINTPTR relocAddr, UINT32 addend, UINTP… in OsDoReloc()
604 STATIC INT32 OsDoRelocSyms(DynSharedObj *dso, RelocInfo *relInfo) in OsDoRelocSyms()
639 STATIC INT32 OsRelocSyms(DynSharedObj *dso) in OsRelocSyms()
[all …]
/kernel/linux/linux-5.10/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DEventClass.py26 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
/kernel/linux/linux-6.6/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DEventClass.py26 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
/kernel/linux/linux-5.10/tools/perf/bench/
Dinject-buildid.c81 struct bench_dso *dso = &dsos[nr_dsos]; in add_dso() local
123 struct bench_dso *dso = &dsos[i]; in release_dso() local
131 static u64 dso_map_addr(struct bench_dso *dso) in dso_map_addr()
172 static ssize_t synthesize_mmap(struct bench_data *data, struct bench_dso *dso, u64 timestamp) in synthesize_mmap()
218 static ssize_t synthesize_sample(struct bench_data *data, struct bench_dso *dso, u64 timestamp) in synthesize_sample()
365 struct bench_dso *dso = &dsos[idx]; in inject_build_id() local
/kernel/linux/linux-6.6/tools/perf/bench/
Dinject-buildid.c82 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
/kernel/linux/linux-5.10/tools/perf/tests/
Ddso-data.c106 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
/kernel/linux/linux-6.6/tools/perf/tests/
Ddso-data.c106 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
Dhists_common.c129 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
Dsymbols.c65 static int test_dso(struct dso *dso) in test_dso()
104 struct dso *dso; in test_file() local
Dvmlinux-kallsyms.c296 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
/kernel/linux/linux-6.6/tools/perf/
Dbuiltin-buildid-list.c27 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()

12345