]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rpmsg: glink: Introduce packet tracepoints
authorBjorn Andersson <quic_bjorande@quicinc.com>
Tue, 6 Aug 2024 03:56:27 +0000 (20:56 -0700)
committerBjorn Andersson <andersson@kernel.org>
Mon, 12 Aug 2024 22:26:28 +0000 (15:26 -0700)
commit34f79c11fb2f31ba05f13e42b936b3eae1783d40
treedbd3c426c4828ee05c002223b978c64b66c2dc27
parent91adb340d1b8fed6507d0143da1f0d8ccb8aeca4
rpmsg: glink: Introduce packet tracepoints

Introduce tracepoints to allow tracing the GLINK packets being exchanged
with other subsystems. This is useful for debugging both interaction
with remote processors and client driver issues, as well as tracking
latency through the communication stack.

Channel events are traced with both local and remote channel ids, as
well as the textual representation when possible. The channel ids are
useful when matching traces with traces from the firmware side logs,
while the textual representation is necessary to identify channels when
we're starting to trace an already running system.

Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: Chris Lew <quic_clew@quicinc.com>
Link: https://lore.kernel.org/r/20240805-glink-tracepoints-v1-3-a5f3293fb09e@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/rpmsg/Makefile
drivers/rpmsg/qcom_glink_native.c
drivers/rpmsg/qcom_glink_trace.h [new file with mode: 0644]