[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241121190826.78506b40@gandalf.local.home>
Date: Thu, 21 Nov 2024 19:08:26 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Lukas Wunner <lukas@...ner.de>
Cc: Shuai Xue <xueshuai@...ux.alibaba.com>, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-edac@...r.kernel.org,
linux-trace-kernel@...r.kernel.org, bhelgaas@...gle.com,
tony.luck@...el.com, bp@...en8.de, mhiramat@...nel.org,
mathieu.desnoyers@...icios.com, oleg@...hat.com, naveen@...nel.org,
davem@...emloft.net, anil.s.keshavamurthy@...el.com, mark.rutland@....com,
peterz@...radead.org
Subject: Re: [PATCH v3] PCI: hotplug: Add a generic RAS tracepoint for
hotplug event
On Fri, 22 Nov 2024 00:09:50 +0100
Lukas Wunner <lukas@...ner.de> 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
Powered by blists - more mailing lists