Thread (18 messages) 18 messages, 4 authors, 2026-03-03

Re: [PATCH v4 3/3] PCI: dw-rockchip: Add pcie_ltssm_state_transition trace support

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2026-02-26 00:14:28
Also in: linux-pci, linux-rockchip, linux-trace-kernel

On Wed, 25 Feb 2026 09:25:16 +0800
Shawn Lin [off-list ref] wrote:
I must admit I borrow it from arch/powerpc/include/asm/trace.h and
include/trace/events/i2c.h for reference, where the reg and unreg
just increase and decrease the ref count to indicate if the tp
should be continued. Sure, the static branch could be used instead,
even without reg and unreg implementation.
The i2c.h looks like it should be switched over to the
trace_<tracepoint>_enabled(), but the powerpc enables a static branch
in assembly, so that one does make sense to do it the way it did it.

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help