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

From: Rafael J. Wysocki
Date: Thu Jan 05 2023 - 09:56:16 EST


On Wed, Jan 4, 2023 at 10:39 PM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> On Fri, 30 Dec 2022 16:52:36 +0100
> "Rafael J. Wysocki" <rafael@xxxxxxxxxx> wrote:
>
> > Personally, I would use a command line option to control the behavior
> > and the Kconfig option to provide its default value.
> >
>
> I can add that.
>
> > 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.
>
> Not sure what you mean by the above? You mean to make going to both as the
> default?

No, just send them to the trace buffer alone unless specifically told
to printk() them.