Function

SysprofBacktraceFunc

Declaration

int
(* SysprofBacktraceFunc) (
  SysprofCaptureAddress* addrs,
  unsigned int n_addrs,
  void* user_data
)

Description

No description available.

Parameters

addrs

Type: An array of SysprofCaptureAddress

An 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_addrs argument.
The caller of the function takes ownership of the returned data, and is responsible for freeing it.
n_addrs

Type: unsigned int

The 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.

Return value

Type: int

The number of addresses filled in addrs.