Re: [PATCH v5] PCI: hotplug: Add a generic RAS tracepoint for hotplug event
From: Steven Rostedt
Date: Mon Mar 10 2025 - 10:51:04 EST
On Mon, 10 Mar 2025 11:59:55 +0800
Shuai Xue <xueshuai@xxxxxxxxxxxxxxxxx> wrote:
> Hi, Steve,
>
> If I move PCI_HOTPLUG_EVENT into one place, `include/upai/linux/pci.h`,
> I need to include:
>
> #include <linux/tracepoint.h>
>
> Then, kernel build fails with CONFIG_UAPI_HEADER_TEST=y:
Just move the enum definitions, not the entire event file.
That is, have one place has the PCI_HOTPLUG_EVENT macro, and have both the
uapi header as well as the tracepoint header include that header.
I guess I need to see the entire change.
-- Steve