[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211109165104.176b4cf9@gandalf.local.home>
Date: Tue, 9 Nov 2021 16:51:04 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Jason Baron <jbaron@...mai.com>
Cc: Sai Prakash Ranjan <quic_saipraka@...cinc.com>,
Will Deacon <will@...nel.org>,
Catalin Marinas <catalin.marinas@....com>,
quic_psodagud@...cinc.com, Marc Zyngier <maz@...nel.org>,
gregkh@...uxfoundation.org, arnd@...db.de,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-arm-msm@...r.kernel.org, mingo@...hat.com,
jim.cromie@...il.com, seanpaul@...omium.org
Subject: Re: [PATCHv3 3/3] dynamic_debug: Add a flag for dynamic event
tracing
On Tue, 9 Nov 2021 16:42:48 -0500
Jason Baron <jbaron@...mai.com> wrote:
> Yeah there is a 'parallel' thread about adding the tracing ring buffer as
> a 'back end' to the dynamic debug stuff over here:
> https://lore.kernel.org/lkml/20211105192637.2370737-9-jim.cromie@gmail.com/
As the maintainer of tracefs, why am I not Cc'd on that thread :-(
I'll have to look at that thread later (no time now).
>
> The attempt there is more generic but I realize now that it is adding the
> tracing to an 'instance' which is specific to dynamic debug which is
> being created via: trace_array_get_by_name(). I would prefer to just have
> it print to the 'main' trace buffer such that it's easier to read,
> although I guess they could still be consolidated via timestamps.
> Hmmm...I think there was a previous proposal to just add a single
> tracepoint (that takes a string) to the dynamic debug layer that could be
> called if a dynamic debug site is enabled for trace buffer output. Would
> that satisfy the ftrace level filtering requirements that you are looking
> for?
What we are looking at there is to pass the dynamic debug descriptor to the
trace event filtering logic, where you could filter on information passed
to it. For example, on a specific file if a trace event is called by
several different files or modules.
-- Steve
Powered by blists - more mailing lists