From: Praveen Talari <praveen.talari@oss.qualcomm.com>
To: konrad.dybcio@oss.qualcomm.com,
Steven Rostedt <rostedt@goodmis.org>,
Masami Hiramatsu <mhiramat@kernel.org>,
Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
Vinod Koul <vkoul@kernel.org>, Frank Li <Frank.Li@kernel.org>
Cc: chandana.chiluveru@oss.qualcomm.com,
mukesh.savaliya@oss.qualcomm.com, linux-kernel@vger.kernel.org,
linux-trace-kernel@vger.kernel.org,
linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org,
Praveen Talari <praveen.talari@oss.qualcomm.com>,
Frank Li <Frank.Li@nxp.com>
Subject: [PATCH v4 0/2] dmaengine: qcom: gpi: Add trace event support
Date: Mon, 09 Nov 2026 09:58:48 +0530 [thread overview]
Message-ID: <20261109-add-trace-support-gpio-v4-0-85ed08134917@oss.qualcomm.com> (raw)
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 (private to the driver,
in drivers/dma/qcom/gpi_trace.h) and wires the tracepoints into the
driver alongside the existing dev_dbg() calls.
Patch 2 converts the remaining dev_dbg() call sites in the driver to
use the new tracepoints instead.
Signed-off-by: Praveen Talari <praveen.talari@oss.qualcomm.com>
---
Changes in v4:
- Use TO_GPI_EV_STATE_STR() in the gpi_ev_ctrl_irq tracepoint so the
event channel state is traced by name along with its numeric value.
- Link to v3: https://patch.msgid.link/20260926-add-trace-support-gpio-v3-0-8572bf7456b2@oss.qualcomm.com
Changes in v3:
- Move the qcom_gpi trace events header from
include/trace/events/qcom_gpi.h into drivers/dma/qcom/gpi_trace.h,
since it has no users outside the GPI DMA driver, and squash it
into the tracepoint-wiring patch.
- Drop the redundant per-function breakdown paragraph from the
dev_dbg()-to-tracepoint conversion patch; the first paragraph
already describes the change.
- Link to v2: https://patch.msgid.link/20260909-add-trace-support-gpio-v2-0-01f81739bb88@oss.qualcomm.com
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 (2):
dmaengine: qcom: gpi: Add trace event support
dmaengine: qcom: gpi: Convert dev_dbg() calls to tracepoints
drivers/dma/qcom/gpi.c | 70 ++++------
drivers/dma/qcom/gpi_trace.h | 320 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 348 insertions(+), 42 deletions(-)
---
base-commit: ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
change-id: 20260831-add-trace-support-gpio-99eb54d42729
Best regards,
--
Praveen Talari <praveen.talari@oss.qualcomm.com>
next reply other threads:[~2026-11-09 4:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 4:28 Praveen Talari [this message]
2026-11-09 4:28 ` [PATCH v4 1/2] " Praveen Talari
2026-11-09 4:28 ` [PATCH v4 2/2] dmaengine: qcom: gpi: Convert dev_dbg() calls to tracepoints Praveen Talari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261109-add-trace-support-gpio-v4-0-85ed08134917@oss.qualcomm.com \
--to=praveen.talari@oss.qualcomm.com \
--cc=Frank.Li@kernel.org \
--cc=Frank.Li@nxp.com \
--cc=chandana.chiluveru@oss.qualcomm.com \
--cc=dmaengine@vger.kernel.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@efficios.com \
--cc=mhiramat@kernel.org \
--cc=mukesh.savaliya@oss.qualcomm.com \
--cc=rostedt@goodmis.org \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®