[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211112125451.76b00818@gandalf.local.home>
Date: Fri, 12 Nov 2021 12:54:51 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Jason Baron <jbaron@...mai.com>
Cc: Vincent Whitchurch <vincent.whitchurch@...s.com>,
Jim Cromie <jim.cromie@...il.com>, gregkh@...uxfoundation.org,
robdclark@...il.com, sean@...rly.run, daniel.vetter@...ll.ch,
seanpaul@...omium.org, lyude@...hat.com,
linux-kernel@...r.kernel.org, mathieu.desnoyers@...icios.com,
dri-devel@...ts.freedesktop.org, amd-gfx@...ts.freedesktop.org,
intel-gvt-dev@...ts.freedesktop.org,
intel-gfx@...ts.freedesktop.org, quic_saipraka@...cinc.com,
will@...nel.org, catalin.marinas@....com,
quic_psodagud@...cinc.com, maz@...nel.org, arnd@...db.de,
linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, mingo@...hat.com
Subject: Re: [PATCH v10 08/10] dyndbg: add print-to-tracefs, selftest with
it - RFC
On Fri, 12 Nov 2021 12:32:23 -0500
Jason Baron <jbaron@...mai.com> wrote:
> Ok, it looks like Vincent's patch defines a dyndbg event and then uses
> 'trace_dyndbg()' to output to the 'main' log. So all dynamic output to
> the 'main' ftrace buffer goes through that event if I understand it
> correctly. Here's a pointer to it for reference:
>
> https://lore.kernel.org/lkml/20200825153338.17061-3-vincent.whitchurch@axis.com/
>
> Would you be ok with that approach?
Yes that approach is fine, because it doesn't actually go to the main log
unless you enable the dyndbg trace event in the main buffer. You could
also enable that event in an instance and have it go there.
-- Steve
Powered by blists - more mailing lists