Re: [PATCH v3] PCI: hotplug: Add a generic RAS tracepoint for hotplug event
From: Steven Rostedt
Date: Thu Nov 21 2024 - 19:08:01 EST
On Fri, 22 Nov 2024 00:09:50 +0100
Lukas Wunner <lukas@xxxxxxxxx> wrote:
> Would something like
>
> /sys/kernel/debug/tracing/events/pci/hotplug_event
>
> be possible? It would seem more elegant than
>
> /sys/kernel/debug/tracing/events/pci/pci_hp_event
>
> because it avoids the duplication of "pci" in the path.
Most events have the name of the system in it (see the sched events).
That's to prevent the duplicates in other places. Also, in the trace
output, only the event name is shown and not the system. That is, if you
have more than one "hotplug_event" enabled, the trace will not
differentiate them.
My suggestion is the "pci_hp_event" as it will be more obvious in the trace
output.
-- Steve