summaryrefslogtreecommitdiffstats
path: root/drivers/dma/fsl-edma-trace.c
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@nxp.com>2024-04-25 22:59:45 +0200
committerVinod Koul <vkoul@kernel.org>2024-05-04 14:30:16 +0200
commit11102d0c343ba06ddd303f2503c0ce46d70052f2 (patch)
treecb0f76f93ad2e04d447ddece98e546cf63657120 /drivers/dma/fsl-edma-trace.c
parentdmaengine: idxd: Avoid unnecessary destruction of file_ida (diff)
downloadlinux-11102d0c343ba06ddd303f2503c0ce46d70052f2.tar.xz
linux-11102d0c343ba06ddd303f2503c0ce46d70052f2.zip
dmaengine: fsl-edma: add trace event support
Implement trace event support to enhance logging functionality for register access and the transfer control descriptor (TCD) context. This will enable more comprehensive monitoring and analysis of system activities Signed-off-by: Frank Li <Frank.Li@nxp.com> Link: https://lore.kernel.org/r/20240425205947.3436501-1-Frank.Li@nxp.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/fsl-edma-trace.c')
-rw-r--r--drivers/dma/fsl-edma-trace.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/dma/fsl-edma-trace.c b/drivers/dma/fsl-edma-trace.c
new file mode 100644
index 000000000000..28300ad80bb7
--- /dev/null
+++ b/drivers/dma/fsl-edma-trace.c
@@ -0,0 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
+
+#define CREATE_TRACE_POINTS
+#include "fsl-edma-common.h"