[PATCH v2 0/3] dmaengine: qcom: gpi: Add trace event support
From: Praveen Talari <hidden>
Date: 2026-09-09 05:09:57
Also in:
dmaengine, linux-arm-msm, lkml
This series adds tracepoint support to the Qualcomm GPI DMA engine driver, giving structured runtime visibility into GPI DMA behavior without requiring invasive debug patches. Patch 1 adds the qcom_gpi trace events header, covering command dispatch, IRQ handling, channel/event control state transitions, completion event processing, ring allocation, and TRE contents. Patch 2 wires these tracepoints into the driver alongside the existing dev_dbg() calls. Patch 3 converts the remaining dev_dbg() call sites in the driver to use the new tracepoints instead. Signed-off-by: Praveen Talari <redacted> --- Changes in v2: - Reorder TP_STRUCT__entry() fields in gpi_ev_process, gpi_alloc_ring, and gpi_ring_info to avoid holes: 8/16-bit fields moved to the end, and 64-bit/size_t fields moved before the __string() field (treating __string() as 4 bytes of metadata). (Steven Rostedt) - Link to v1: https://patch.msgid.link/20260831-add-trace-support-gpio-v1-0-7b0fd0d0ddb3@oss.qualcomm.com --- Praveen Talari (3): dmaengine: qcom: gpi: trace: Add trace events header for Qualcomm GPI DMA dmaengine: qcom: gpi: Add trace event support dmaengine: qcom: gpi: Convert dev_dbg() calls to tracepoints drivers/dma/qcom/gpi.c | 69 ++++----- include/trace/events/qcom_gpi.h | 313 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 340 insertions(+), 42 deletions(-) --- base-commit: e30626823a406725ce29bc75cb8ec467d3e1e326 change-id: 20260831-add-trace-support-gpio-99eb54d42729 Best regards, -- Praveen Talari [off-list ref]