Function
SysprofBacktraceFunc
Declaration
int
(* SysprofBacktraceFunc) (
SysprofCaptureAddress* addrs,
unsigned int n_addrs,
void* user_data
)
Parameters
addrs-
Type: An array of
SysprofCaptureAddressAn array to place addresses into the capture frame.
The argument will be modified by the function. The length of the array is specified in the n_addrsargument.The caller of the function takes ownership of the returned data, and is responsible for freeing it. n_addrs-
Type:
unsigned intThe length of
addrs.The argument will be modified by the function. user_data-
Type:
void*Closure data for the callback.
The argument can be NULL.The data is owned by the caller of the function.