ASoC: SOF: Clone the trace code to ipc3-dtrace as fw_tracing implementation
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Mon, 16 May 2022 10:47:06 +0000 (13:47 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 19 May 2022 15:44:14 +0000 (16:44 +0100)
commit671e0b90051ec19e83c12501905734fb808b944e
treead3f22321aa1ed04b7394c437f6817729e6054fd
parent25b17da691f3c1a7cc433f864fd4845998a5a37a
ASoC: SOF: Clone the trace code to ipc3-dtrace as fw_tracing implementation

The existing trace.c file is implementing the IPC3 dma-trace support.

Clone the existing code with prefix fixes as ipc3 fw_tracing
implementation to be used when the core is converted to use generic ops
for firmware tracing.

Drop the dual licensing of the content as the implementation is based on
debugfs.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220516104711.26115-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/Makefile
sound/soc/sof/ipc3-dtrace.c [new file with mode: 0644]
sound/soc/sof/ipc3-priv.h
sound/soc/sof/ipc3.c