Re: [RFC][PATCH] tracing: Allow creating instances with specified system events

2023-11-28 Thread Steven Rostedt
On Wed, 29 Nov 2023 00:17:38 +0900 Masami Hiramatsu (Google) wrote: > Hi Steve, > > On Mon, 27 Nov 2023 17:41:08 -0500 > Steven Rostedt wrote: > > > From: "Steven Rostedt (Google)" > > > > A trace instance may only need to enable specific events. As the eventfs > > directory of an instance c

Re: [RFC][PATCH] tracing: Allow creating instances with specified system events

2023-11-28 Thread Google
Hi Steve, On Mon, 27 Nov 2023 17:41:08 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > A trace instance may only need to enable specific events. As the eventfs > directory of an instance currently creates all events which adds overhead, > allow internal instances to be create

Re: [RFC][PATCH] tracing: Allow creating instances with specified system events

2023-11-28 Thread Steven Rostedt
On Tue, 28 Nov 2023 09:20:29 -0500 Steven Rostedt wrote: > On Tue, 28 Nov 2023 14:14:29 +0100 > Dmytro Maluka 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 t

Re: [RFC][PATCH] tracing: Allow creating instances with specified system events

2023-11-28 Thread Steven Rostedt
On Tue, 28 Nov 2023 14:14:29 +0100 Dmytro Maluka 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. W

Re: [RFC][PATCH] tracing: Allow creating instances with specified system events

2023-11-28 Thread Dmytro Maluka
On Mon, Nov 27, 2023 at 05:41:08PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > A trace instance may only need to enable specific events. As the eventfs > directory of an instance currently creates all events which adds overhead, > allow internal instances to be created with

Re: [RFC][PATCH] tracing: Allow creating instances with specified system events

2023-11-28 Thread Daniel Wagner
On Mon, Nov 27, 2023 at 05:50:21PM -0500, Steven Rostedt wrote: > On Mon, 27 Nov 2023 17:41:08 -0500 > Steven Rostedt wrote: > > > From: "Steven Rostedt (Google)" > > > > A trace instance may only need to enable specific events. As the eventfs > > directory of an instance currently creates all

Re: [RFC][PATCH] tracing: Allow creating instances with specified system events

2023-11-27 Thread Steven Rostedt
On Mon, 27 Nov 2023 17:41:08 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > A trace instance may only need to enable specific events. As the eventfs > directory of an instance currently creates all events which adds overhead, > allow internal instances to be created with just