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

From
Steven Rostedt <rostedt@goodmis.org>
Date
2022-12-15 19:12:09
Also in
linux-acpi, lkml
Reply to
Joel Fernandes, 2022-12-15
On Thu, 15 Dec 2022 18:45:37 +0000
Joel Fernandes [off-list ref] wrote:
Wouldn't it be better to also check trace_acpi_print_enabled() here in the
else if() condition, along with IS_ENABLED()? That way if the CONFIG is
enabled but the tracepoint is not enabled, at least the messages will go to
dmesg instead of skipped.
I really don't want that. This was purposely done to be mutually exclusive.
The reason I added this in the first place, is because too much enabled
will render the system useless if printk() is used.

After boot up, if I had enabled all debug events and then I were to disable
the acpi tracepoint, it will likely render the system useless again if it
were to switch over to printk.

-- Steve
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