15#ifndef __IPC_PROBE_H__
16#define __IPC_PROBE_H__
23#define PROBE_LOGGING_BUFFER_ID 0
29#define PROBE_PURPOSE_EXTRACTION 0x1
30#define PROBE_PURPOSE_INJECTION 0x2
31#define PROBE_PURPOSE_LOGGING 0x3
32#define PROBE_PURPOSE_TRACING 0x4
42} __attribute__((packed, aligned(4)));
48typedef struct probe_point_id {
60} __attribute__((packed, aligned(4)));
70} __attribute__((packed, aligned(4)));
83} __attribute__((packed, aligned(4)));
93} __attribute__((packed, aligned(4)));
103} __attribute__((packed, aligned(4)));
113} __attribute__((packed, aligned(4)));
Host DMA channel descriptor allocated for audio probes.
Definition probe.h:39
uint32_t stream_tag
Stream tag associated with this DMA channel.
Definition probe.h:40
uint32_t dma_buffer_size
Size of host DMA buffer in bytes.
Definition probe.h:41
Packed identifier identifying target audio buffer for probe attachment.
Definition probe.h:48
uint32_t full_id
Packed buffer identifier.
Definition probe.h:49
Probe tap point descriptor binding a pipeline buffer to a probe purpose.
Definition probe.h:56
uint32_t stream_tag
Stream tag of DMA for injection; ignored on extraction request and populated on reply.
Definition probe.h:59
uint32_t purpose
Probe role (PROBE_PURPOSE_*)
Definition probe.h:58
probe_point_id_t buffer_id
ID of pipeline buffer to which probe is attached.
Definition probe.h:57
Command Header - Header for all IPC commands.
Definition header.h:357
DMA ADD for probes payload (SOF_IPC_PROBE_INIT, SOF_IPC_PROBE_DMA_ADD).
Definition probe.h:66
struct sof_ipc_cmd_hdr hdr
Header.
Definition probe.h:67
uint32_t num_elems
Count of DMAs specified in array.
Definition probe.h:68
Probe DMA remove payload (SOF_IPC_PROBE_DMA_REMOVE).
Definition probe.h:89
uint32_t stream_tag[]
Array of stream tags associated with DMAs to remove.
Definition probe.h:92
struct sof_ipc_cmd_hdr hdr
Header.
Definition probe.h:90
uint32_t num_elems
Count of stream tags specified in array.
Definition probe.h:91
Reply to INFO queries (SOF_IPC_PROBE_DMA_INFO, SOF_IPC_PROBE_POINT_INFO).
Definition probe.h:76
struct sof_ipc_reply rhdr
Header.
Definition probe.h:77
uint32_t num_elems
Count of elements in array.
Definition probe.h:78
Add probe points payload (SOF_IPC_PROBE_POINT_ADD).
Definition probe.h:99
uint32_t num_elems
Count of Probe Points specified in array.
Definition probe.h:101
struct sof_ipc_cmd_hdr hdr
Header.
Definition probe.h:100
Remove probe points payload (SOF_IPC_PROBE_POINT_REMOVE).
Definition probe.h:109
uint32_t num_elems
Count of buffer IDs specified in array.
Definition probe.h:111
struct sof_ipc_cmd_hdr hdr
Header.
Definition probe.h:110
uint32_t buffer_id[]
Array of buffer IDs from which Probe Points should be removed.
Definition probe.h:112
Generic reply message.
Definition header.h:366