[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231128095437.423f5f88@gandalf.local.home>
Date: Tue, 28 Nov 2023 09:54:37 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: Dmytro Maluka <dmaluka@...omium.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Linux Trace Kernel <linux-trace-kernel@...r.kernel.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Sean Paul <seanpaul@...omium.org>,
Arun Easi <aeasi@...vell.com>, Daniel Wagner <dwagner@...e.de>
Subject: Re: [RFC][PATCH] tracing: Allow creating instances with specified
system events
On Tue, 28 Nov 2023 09:20:29 -0500
Steven Rostedt <rostedt@...dmis.org> wrote:
> On Tue, 28 Nov 2023 14:14:29 +0100
> Dmytro Maluka <dmaluka@...omium.org> wrote:
>
>
> > This limitation will cause (unrelated) events created by modules that
> > are insmoded after creating the instance to be also added to the
> > instance. Why not filter those as well?
>
> I did think of that. But that would be a separate patch. Where I would save
> the string that is passed in, and whenever a new module is loaded, it would
> only add the events if the events' system matches in the string. This would
> also allow adding event systems that do not yet exist.
Now that I'm implementing this, it makes more sense to just do that as one
patch. Otherwise the check against the systems string is redundant, as the
creation of the events needs to check against the tr->systems too. I found
that I was deleting most of this patch to implement the change.
-- Steve
Powered by blists - more mailing lists