Method

SysprofDocumentsymbolize_traceable

Declaration [src]

guint
sysprof_document_symbolize_traceable (
  SysprofDocument* self,
  SysprofDocumentTraceable* traceable,
  SysprofSymbol** symbols,
  guint n_symbols,
  SysprofAddressContext* final_context
)

Description [src]

Batch symbolizing of a traceable.

No ownership is transfered into symbols and may be cheaply discarded if using the stack for storage.

This method is not directly available to language bindings.

Parameters

traceable

Type: SysprofDocumentTraceable

The traceable to extract symbols for.

The data is owned by the caller of the method.
symbols

Type: SysprofSymbol

An array to store SysprofSymbols.

The data is owned by the caller of the method.
n_symbols

Type: guint

The number of elements in symbols.

final_context

Type: SysprofAddressContext

A location to store the last address context of the stack trace.

The argument will be set by the function.
The argument can be set to NULL by the method.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.

Return value

Type: guint

The number of symbols or NULL set in symbols.