mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-01 15:15:19 -04:00
ASoC: SOF: replace ipc4-loader dev_vdbg with tracepoints
This patch replaces dev_vdbg with tracepoints in new ipc4-loader code. Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Signed-off-by: Noah Klayman <noah.klayman@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20220919122108.43764-8-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
@@ -98,6 +98,23 @@ TRACE_EVENT(sof_stream_position_ipc_rx,
|
||||
TP_printk("device_name=%s", __get_str(device_name))
|
||||
);
|
||||
|
||||
TRACE_EVENT(sof_ipc4_fw_config,
|
||||
TP_PROTO(struct snd_sof_dev *sdev, char *key, u32 value),
|
||||
TP_ARGS(sdev, key, value),
|
||||
TP_STRUCT__entry(
|
||||
__string(device_name, dev_name(sdev->dev))
|
||||
__string(key, key)
|
||||
__field(u32, value)
|
||||
),
|
||||
TP_fast_assign(
|
||||
__assign_str(device_name, dev_name(sdev->dev));
|
||||
__assign_str(key, key);
|
||||
__entry->value = value;
|
||||
),
|
||||
TP_printk("device_name=%s key=%s value=%d",
|
||||
__get_str(device_name), __get_str(key), __entry->value)
|
||||
);
|
||||
|
||||
#endif /* _TRACE_SOF_H */
|
||||
|
||||
/* This part must be outside protection */
|
||||
|
||||
Reference in New Issue
Block a user