Sound Open Firmware
Loading...
Searching...
No Matches
probe.h File Reference
Include dependency graph for probe.h:

Go to the source code of this file.

Typedefs

typedef ssize_t(* probe_logging_hook_t) (uint8_t *buffer, size_t length)
 A buffer of logging data is available for processing.

Functions

void probe_logging_init (probe_logging_hook_t hook)
 Initialize the probe logging backend.
int probe_init (const struct probe_dma *extraction_probe_dma)
int probe_deinit (void)
int probe_dma_add (uint32_t count, const struct probe_dma *probe_dma)
int probe_dma_info (struct sof_ipc_probe_info_params *data, uint32_t max_size)
int probe_dma_remove (uint32_t count, const uint32_t *stream_tag)
int probe_point_add (uint32_t count, const struct probe_point *probe)
int probe_point_info (struct sof_ipc_probe_info_params *data, uint32_t max_size)
int probe_point_remove (uint32_t count, const uint32_t *buffer_id)
static struct probe_pdata * probe_get (void)
 Retrieves probes structure.

Typedef Documentation

◆ probe_logging_hook_t

typedef ssize_t(* probe_logging_hook_t) (uint8_t *buffer, size_t length)

A buffer of logging data is available for processing.

Function Documentation

◆ probe_deinit()

int probe_deinit ( void )

◆ probe_dma_add()

int probe_dma_add ( uint32_t count,
const struct probe_dma * probe_dma )

◆ probe_dma_info()

int probe_dma_info ( struct sof_ipc_probe_info_params * data,
uint32_t max_size )

◆ probe_dma_remove()

int probe_dma_remove ( uint32_t count,
const uint32_t * stream_tag )

◆ probe_get()

struct probe_pdata * probe_get ( void )
inlinestatic

Retrieves probes structure.

Returns
Pointer to probes structure.

◆ probe_init()

int probe_init ( const struct probe_dma * extraction_probe_dma)

◆ probe_logging_init()

void probe_logging_init ( probe_logging_hook_t hook)

Initialize the probe logging backend.

Parameters
hookFunction is called when new logging data is written out by the logger.

◆ probe_point_add()

int probe_point_add ( uint32_t count,
const struct probe_point * probe )

◆ probe_point_info()

int probe_point_info ( struct sof_ipc_probe_info_params * data,
uint32_t max_size )

◆ probe_point_remove()

int probe_point_remove ( uint32_t count,
const uint32_t * buffer_id )