Thread (22 messages) 22 messages, 5 authors, 2025-09-19

Re: [PATCH v9 2/2] PCI: trace: Add a RAS tracepoint to monitor link speed changes

From: Shuai Xue <xueshuai@linux.alibaba.com>
Date: 2025-07-25 03:18:57
Also in: linux-edac, linux-pci, lkml, oe-kbuild-all


在 2025/7/25 10:57, Steven Rostedt 写道:
On Fri, 25 Jul 2025 10:31:45 +0800
Shuai Xue [off-list ref] wrote:
quoted
I'm leaning toward option 1 (dedicated trace.c file) as it's the
cleanest approach and follows the pattern used in other subsystems. Does
that sound reasonable to you?
That's fine, but make sure you have #ifdef CONFIG_FOO around tracepoints
that are only used when those configs are enabled, otherwise you will get
warnings.

Well, if they are exported, then the warnings are suppressed.

   https://lore.kernel.org/all/20250725025149.726267838@kernel.org/ (local)

-- Steve
Hi Steve,

Got it. Thanks for the important reminder about the CONFIG guards!

Best regards,
Shuai
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help