Lines Matching refs:dwfl
40 #include ELFUTILS_HEADER(dwfl)
72 const char *symname, Dwfl *dwfl) in callback_verify() argument
120 mod = dwfl_addrmodule (dwfl, pc - 1); in callback_verify()
133 mod = dwfl_addrmodule (dwfl, pc); in callback_verify()
169 Dwfl *dwfl = dwfl_thread_dwfl (thread); in frame_callback() local
170 Dwfl_Module *mod = dwfl_addrmodule (dwfl, pc_adjusted); in frame_callback()
178 callback_verify (tid, *framenop, pc, symname, dwfl); in frame_callback()
206 dump (Dwfl *dwfl) in dump() argument
208 ptrdiff_t ptrdiff = dwfl_getmodules (dwfl, dump_modules, NULL, 0); in dump()
211 switch (dwfl_getthreads (dwfl, thread_callback, NULL)) in dump()
225 callback_verify (0, 0, 0, NULL, dwfl); in dump()
289 report_pid (Dwfl *dwfl, pid_t pid) in report_pid() argument
291 int result = dwfl_linux_proc_report (dwfl, pid); in report_pid()
297 if (dwfl_report_end (dwfl, NULL, NULL) != 0) in report_pid()
300 result = dwfl_linux_proc_attach (dwfl, pid, true); in report_pid()
318 Dwfl *dwfl = dwfl_begin (&proc_callbacks); in pid_to_dwfl() local
319 if (dwfl == NULL) in pid_to_dwfl()
321 report_pid (dwfl, pid); in pid_to_dwfl()
322 return dwfl; in pid_to_dwfl()
362 Dwfl *dwfl = pid_to_dwfl (pid); in exec_dump() local
373 ptrdiff_t ptrdiff = dwfl_getmodules (dwfl, see_exec_module, &data, 0); in exec_dump()
416 dwfl_end (dwfl); in exec_dump()
418 dwfl = pid_to_dwfl (pid); in exec_dump()
419 dump (dwfl); in exec_dump()
420 dwfl_end (dwfl); in exec_dump()
464 Dwfl *dwfl = NULL; in main() local
474 (void) argp_parse (&argp, argc, argv, 0, NULL, &dwfl); in main()
475 assert (dwfl != NULL); in main()
477 if (dwfl_pid (dwfl) < 0) in main()
479 dump (dwfl); in main()
480 dwfl_end (dwfl); in main()