Home
last modified time | relevance | path

Searched refs:Dwfl (Results 1 – 25 of 71) sorted by relevance

123

/external/elfutils/include/elfutils/
Dlibdwfl.h36 typedef struct Dwfl Dwfl; typedef
85 extern Dwfl *dwfl_begin (const Dwfl_Callbacks *callbacks)
90 extern void dwfl_end (Dwfl *);
93 extern const char *dwfl_version (Dwfl *);
110 extern void dwfl_report_begin (Dwfl *dwfl);
138 extern int dwfl_report_segment (Dwfl *dwfl, int ndx,
145 extern Dwfl_Module *dwfl_report_module (Dwfl *dwfl, const char *name,
160 extern Dwfl_Module *dwfl_report_elf (Dwfl *dwfl, const char *name,
168 extern Dwfl_Module *dwfl_report_offline (Dwfl *dwfl, const char *name,
179 extern int dwfl_report_end (Dwfl *dwfl,
[all …]
/external/elfutils/src/libdwfl/
Dlibdwfl.h36 typedef struct Dwfl Dwfl; typedef
85 extern Dwfl *dwfl_begin (const Dwfl_Callbacks *callbacks)
90 extern void dwfl_end (Dwfl *);
93 extern const char *dwfl_version (Dwfl *);
110 extern void dwfl_report_begin (Dwfl *dwfl);
138 extern int dwfl_report_segment (Dwfl *dwfl, int ndx,
145 extern Dwfl_Module *dwfl_report_module (Dwfl *dwfl, const char *name,
160 extern Dwfl_Module *dwfl_report_elf (Dwfl *dwfl, const char *name,
168 extern Dwfl_Module *dwfl_report_offline (Dwfl *dwfl, const char *name,
179 extern int dwfl_report_end (Dwfl *dwfl,
[all …]
Dargp-std.c96 Dwfl *dwfl;
106 inline void failure (Dwfl *dwfl, int errnum, const char *msg) in parse_opt()
116 inline error_t fail (Dwfl *dwfl, int errnum, const char *msg) in parse_opt()
141 Dwfl *dwfl = opt->dwfl; in parse_opt()
169 Dwfl *dwfl = INTUSE(dwfl_begin) (&proc_callbacks); in parse_opt()
197 Dwfl *dwfl = INTUSE(dwfl_begin) (&proc_callbacks); in parse_opt()
212 Dwfl *dwfl = opt->dwfl; in parse_opt()
227 Dwfl *dwfl = INTUSE(dwfl_begin) (&kernel_callbacks); in parse_opt()
247 Dwfl *dwfl = INTUSE(dwfl_begin) (&offline_callbacks); in parse_opt()
262 Dwfl *dwfl = opt->dwfl; in parse_opt()
[all …]
Dlinux-pid-attach.c114 pid_memory_read (Dwfl *dwfl, Dwarf_Addr addr, Dwarf_Word *result, void *arg) in pid_memory_read()
156 pid_next_thread (Dwfl *dwfl __attribute__ ((unused)), void *dwfl_arg, in pid_next_thread()
200 pid_getthread (Dwfl *dwfl __attribute__ ((unused)), pid_t tid, in pid_getthread()
247 pid_detach (Dwfl *dwfl __attribute__ ((unused)), void *dwfl_arg) in pid_detach()
289 dwfl_linux_proc_attach (Dwfl *dwfl, pid_t pid, bool assume_ptrace_stopped) in dwfl_linux_proc_attach()
367 __libdwfl_get_pid_arg (Dwfl *dwfl) in INTDEF()
379 pid_next_thread (Dwfl *dwfl __attribute__ ((unused)), in pid_next_thread()
389 pid_getthread (Dwfl *dwfl __attribute__ ((unused)), in pid_getthread()
410 pid_memory_read (Dwfl *dwfl __attribute__ ((unused)), in pid_memory_read()
430 pid_detach (Dwfl *dwfl __attribute__ ((unused)), in pid_detach()
[all …]
Doffline.c96 static Dwfl_Module *process_elf (Dwfl *dwfl, const char *name,
98 static Dwfl_Module *process_archive (Dwfl *dwfl, const char *name,
106 process_file (Dwfl *dwfl, const char *name, const char *file_name, int fd, in process_file()
127 process_elf (Dwfl *dwfl, const char *name, const char *file_name, int fd, in process_elf()
160 process_archive_member (Dwfl *dwfl, const char *name, const char *file_name, in process_archive_member()
238 process_archive (Dwfl *dwfl, const char *name, const char *file_name, int fd, in process_archive()
268 __libdwfl_report_offline (Dwfl *dwfl, const char *name, in __libdwfl_report_offline()
291 dwfl_report_offline (Dwfl *dwfl, const char *name, in dwfl_report_offline()
Dsegment.c33 __libdwfl_segment_start (Dwfl *dwfl, GElf_Addr start) in __libdwfl_segment_start()
42 __libdwfl_segment_end (Dwfl *dwfl, GElf_Addr end) in __libdwfl_segment_end()
50 insert (Dwfl *dwfl, size_t i, GElf_Addr start, GElf_Addr end, int segndx) in insert()
126 lookup (Dwfl *dwfl, GElf_Addr address, int hint) in lookup()
153 reify_segments (Dwfl *dwfl) in reify_segments()
240 dwfl_addrsegment (Dwfl *dwfl, Dwarf_Addr address, Dwfl_Module **mod) in dwfl_addrsegment()
282 dwfl_report_segment (Dwfl *dwfl, int ndx, const GElf_Phdr *phdr, GElf_Addr bias, in INTDEF()
DlibdwflP.h107 struct Dwfl struct
158 Dwfl *dwfl;
222 struct Dwfl *dwfl;
416 extern struct __libdwfl_pid_arg *__libdwfl_get_pid_arg (Dwfl *dwfl)
552 extern Dwfl_Module *__libdwfl_report_elf (Dwfl *dwfl, const char *name,
559 extern Dwfl_Module *__libdwfl_report_offline (Dwfl *dwfl, const char *name,
580 extern GElf_Addr __libdwfl_segment_start (Dwfl *dwfl, GElf_Addr start)
582 extern GElf_Addr __libdwfl_segment_end (Dwfl *dwfl, GElf_Addr end)
622 typedef bool Dwfl_Memory_Callback (Dwfl *dwfl, int segndx,
658 extern int dwfl_segment_report_module (Dwfl *dwfl, int ndx, const char *name,
[all …]
Ddwfl_frame.c112 Dwfl *dwfl = process->dwfl; in __libdwfl_process_free()
125 process_alloc (Dwfl *dwfl) in process_alloc()
135 dwfl_attach_state (Dwfl *dwfl, Elf *elf, pid_t pid, in dwfl_attach_state()
213 dwfl_pid (Dwfl *dwfl) in INTDEF()
230 Dwfl * in INTDEF()
252 dwfl_getthreads (Dwfl *dwfl, int (*callback) (Dwfl_Thread *thread, void *arg), in INTDEF()
328 getthread (Dwfl *dwfl, pid_t tid, in getthread()
396 dwfl_getthread_frames (Dwfl *dwfl, pid_t tid, in dwfl_getthread_frames()
Ddwfl_module.c108 dwfl_report_begin_add (Dwfl *dwfl __attribute__ ((unused))) in dwfl_report_begin_add()
116 dwfl_report_begin (Dwfl *dwfl) in INTDEF()
132 dwfl_report_module (Dwfl *dwfl, const char *name, in INTDEF()
195 dwfl_report_end (Dwfl *dwfl, in INTDEF()
Ddwfl_begin.c31 Dwfl *
40 Dwfl *dwfl = calloc (1, sizeof *dwfl); in dwfl_begin()
Dlinux-kernel-modules.c78 try_kernel_name (Dwfl *dwfl, char **fname, bool try_debug) in try_kernel_name()
152 find_kernel_elf (Dwfl *dwfl, const char *release, char **fname) in find_kernel_elf()
172 get_release (Dwfl *dwfl, const char **release) in get_release()
191 report_kernel (Dwfl *dwfl, const char **release, in report_kernel()
246 report_kernel_archive (Dwfl *dwfl, const char **release, in report_kernel_archive()
322 dwfl_linux_kernel_report_offline (Dwfl *dwfl, const char *release, in dwfl_linux_kernel_report_offline()
612 dwfl_linux_kernel_report_kernel (Dwfl *dwfl) in dwfl_linux_kernel_report_kernel()
889 dwfl_linux_kernel_report_modules (Dwfl *dwfl) in INTDEF()
Ddwfl_report_elf.c239 __libdwfl_report_elf (Dwfl *dwfl, const char *name, const char *file_name, in __libdwfl_report_elf()
287 dwfl_report_elf (Dwfl *dwfl, const char *name, const char *file_name, int fd, in dwfl_report_elf()
326 _compat_without_add_p_vaddr_dwfl_report_elf (Dwfl *dwfl, const char *name,
332 _compat_without_add_p_vaddr_dwfl_report_elf (Dwfl *dwfl, const char *name, in _compat_without_add_p_vaddr_dwfl_report_elf()
Dlinux-proc-maps.c92 grovel_auxv (pid_t pid, Dwfl *dwfl, GElf_Addr *sysinfo_ehdr) in grovel_auxv()
179 proc_maps_report (Dwfl *dwfl, FILE *f, GElf_Addr sysinfo_ehdr, pid_t pid) in proc_maps_report()
276 dwfl_linux_proc_maps_report (Dwfl *dwfl, FILE *f) in dwfl_linux_proc_maps_report()
283 dwfl_linux_proc_report (Dwfl *dwfl, pid_t pid) in INTDEF()
Dcore-file.c123 dwfl_report_core_segments (Dwfl *dwfl, Elf *elf, size_t phnum, GElf_Phdr *notes) in dwfl_report_core_segments()
230 dwfl_elf_phdr_memory_callback (Dwfl *dwfl, int ndx, in dwfl_elf_phdr_memory_callback()
423 dwfl_core_file_report (Dwfl *dwfl, Elf *elf, const char *executable) in dwfl_core_file_report()
580 int _compat_without_executable_dwfl_core_file_report (Dwfl *dwfl, Elf *elf);
585 _compat_without_executable_dwfl_core_file_report (Dwfl *dwfl, Elf *elf) in _compat_without_executable_dwfl_core_file_report()
Dlinux-core-attach.c54 core_memory_read (Dwfl *dwfl, Dwarf_Addr addr, Dwarf_Word *result, in core_memory_read()
99 core_next_thread (Dwfl *dwfl __attribute__ ((unused)), void *dwfl_arg, in core_next_thread()
292 core_detach (Dwfl *dwfl __attribute__ ((unused)), void *dwfl_arg) in core_detach()
310 dwfl_core_file_attach (Dwfl *dwfl, Elf *core) in dwfl_core_file_attach()
Ddwfl_version.c33 Dwfl *dwfl __attribute__ ((unused)); in dwfl_version()
Ddwfl_getsrc.c32 dwfl_getsrc (Dwfl *dwfl, Dwarf_Addr addr) in dwfl_getsrc()
Ddwfl_addrdie.c32 dwfl_addrdie (Dwfl *dwfl, Dwarf_Addr addr, Dwarf_Addr *bias) in dwfl_addrdie()
/external/elfutils/src/tests/
Ddwfl-bug-fd-leak.c34 static Dwfl *
45 Dwfl *dwfl = dwfl_begin (&proc_callbacks); in elfutils_open()
77 elfutils_close (Dwfl *dwfl) in elfutils_close()
97 Dwfl *dwfl = elfutils_open (getpid (), (Dwarf_Addr) (uintptr_t) &main); in main()
Dbacktrace-dwarf.c46 report_pid (Dwfl *dwfl, pid_t pid) in report_pid()
64 static Dwfl *
75 Dwfl *dwfl = dwfl_begin (&proc_callbacks); in pid_to_dwfl()
96 Dwfl *dwfl = dwfl_thread_dwfl (thread); in frame_callback()
157 Dwfl *dwfl = pid_to_dwfl (pid); in main()
Dbacktrace.c70 const char *symname, Dwfl *dwfl) in callback_verify()
167 Dwfl *dwfl = dwfl_thread_dwfl (thread); in frame_callback()
204 dump (Dwfl *dwfl) in dump()
283 report_pid (Dwfl *dwfl, pid_t pid) in report_pid()
301 static Dwfl *
312 Dwfl *dwfl = dwfl_begin (&proc_callbacks); in pid_to_dwfl()
356 Dwfl *dwfl = pid_to_dwfl (pid); in exec_dump()
458 Dwfl *dwfl = NULL; in main()
Dbacktrace-data.c70 memory_read (Dwfl *dwfl, Dwarf_Addr addr, Dwarf_Word *result, in memory_read()
142 report_module (Dwfl *dwfl, pid_t child, Dwarf_Addr addr) in report_module()
155 next_thread (Dwfl *dwfl, void *dwfl_arg __attribute__ ((unused)), in next_thread()
229 Dwfl *dwfl = dwfl_thread_dwfl (dwfl_frame_thread (state)); in frame_callback()
301 Dwfl *dwfl = dwfl_begin (&offline_callbacks); in main()
Ddwfl-addr-sect.c33 handle_address (Dwfl *dwfl, Dwarf_Addr address) in handle_address()
62 Dwfl *dwfl = NULL; in main()
Daddrcfi.c107 handle_cfi (Dwfl *dwfl, const char *which, Dwarf_CFI *cfi, in handle_cfi()
160 handle_address (GElf_Addr pc, Dwfl *dwfl) in handle_address()
179 Dwfl *dwfl = NULL; in main()
Daddrscopes.c95 handle_address (GElf_Addr pc, Dwfl *dwfl) in handle_address()
148 Dwfl *dwfl = NULL; in main()

123