Lines Matching refs:dwfl
39 #include ELFUTILS_HEADER(dwfl)
72 const char *symname, Dwfl *dwfl) in callback_verify() argument
147 mod = dwfl_addrmodule (dwfl, pc - 1); in callback_verify()
184 mod = dwfl_addrmodule (dwfl, pc); in callback_verify()
228 Dwfl *dwfl = dwfl_thread_dwfl (thread); in frame_callback() local
229 Dwfl_Module *mod = dwfl_addrmodule (dwfl, pc_adjusted); in frame_callback()
237 callback_verify (tid, *framenop, pc, symname, dwfl); in frame_callback()
265 dump (Dwfl *dwfl) in dump() argument
267 ptrdiff_t ptrdiff = dwfl_getmodules (dwfl, dump_modules, NULL, 0); in dump()
270 switch (dwfl_getthreads (dwfl, thread_callback, NULL)) in dump()
284 callback_verify (0, 0, 0, NULL, dwfl); in dump()
348 report_pid (Dwfl *dwfl, pid_t pid) in report_pid() argument
350 int result = dwfl_linux_proc_report (dwfl, pid); in report_pid()
356 if (dwfl_report_end (dwfl, NULL, NULL) != 0) in report_pid()
359 result = dwfl_linux_proc_attach (dwfl, pid, true); in report_pid()
377 Dwfl *dwfl = dwfl_begin (&proc_callbacks); in pid_to_dwfl() local
378 if (dwfl == NULL) in pid_to_dwfl()
380 report_pid (dwfl, pid); in pid_to_dwfl()
381 return dwfl; in pid_to_dwfl()
419 Dwfl *dwfl = pid_to_dwfl (pid); in exec_dump() local
430 dwfl_getmodules (dwfl, see_exec_module, &data, 0); in exec_dump()
472 dwfl_end (dwfl); in exec_dump()
474 dwfl = pid_to_dwfl (pid); in exec_dump()
475 dump (dwfl); in exec_dump()
476 dwfl_end (dwfl); in exec_dump()
520 Dwfl *dwfl = NULL; in main() local
530 (void) argp_parse (&argp, argc, argv, 0, NULL, &dwfl); in main()
531 assert (dwfl != NULL); in main()
533 if (dwfl_pid (dwfl) < 0) in main()
535 dump (dwfl); in main()
536 dwfl_end (dwfl); in main()