Re: [RFC][PATCH] ACPI: tracing: Have ACPI debug go to tracing ring buffer

From
Rafael J. Wysocki <rafael@kernel.org>
Date
2022-12-30 15:52:59
Also in
linux-acpi, lkml
Reply to
Steven Rostedt, 2022-12-15
On Thu, Dec 15, 2022 at 9:13 PM Steven Rostedt [off-list ref] wrote:
On Thu, 15 Dec 2022 14:52:48 -0500
Joel Fernandes [off-list ref] wrote:
quoted
Another approach could be to always enable the trace event by default,
if the CONFIG is turned on. Or do a printk() telling the user about
the event to enable, so they know why their trace buffer is empty.
Yeah, that is another option.

And, yes I need to document it better. I started to, but then decided to
hold off until I get some feedback in case this is rejected.
quoted
Up to you and the ACPI maintainers. ;-)
I'm going to guess I may not hear back until the new year. I'm fine with
that :-)
It's just a couple of days, but still.

Personally, I would use a command line option to control the behavior
and the Kconfig option to provide its default value.

This way it can be flipped without rebuilding the kernel if need be.

I would also make the ACPI debug output go into the trace buffer so
long as the Kconfig option is not changed or the command line option
is not flipped.

Cheers!
Thread (8 messages) 8 messages, 3 authors, last reply 2023-01-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help