Load a memory map associated with a backtrace
The backtrace library is an unsupported feature, due to its fragility. For more information, see Backtraces in the QNX Neutrino technotes. |
#include <backtrace.h> int bt_load_memmap( bt_accessor_t *acc, bt_memmap_t * memmap );
libbacktrace
Use the -l backtrace option to qcc to link against this library.
The bt_load_memmap() function reads the memory map information from the process represented by acc, and saves the information in memmap.
This function can also set errno to any of the values that devctl() and open() can.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
bt_get_backtrace(), bt_init_accessor(), bt_release_accessor(), bt_set_flags(), bt_sprn_memmap(), bt_sprnf_addrs(), bt_translate_addrs(), bt_unload_memmap()
Backtraces in the QNX Neutrino technotes
pidin backtrace in the Utilities Reference