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

2023-12-05 Thread Steven Rostedt
On Tue, 5 Dec 2023 19:13:09 +0100 Dmytro Maluka wrote: > On Tue, Nov 28, 2023 at 12:21:17PM -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: [PATCH] tracing: Allow creating instances with specified system events

2023-12-05 Thread Dmytro Maluka
On Tue, Nov 28, 2023 at 12:21:17PM -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

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

2023-11-30 Thread Google
On Wed, 29 Nov 2023 10:25:45 -0500 Steven Rostedt wrote: > On Wed, 29 Nov 2023 23:58:21 +0900 > Masami Hiramatsu (Google) wrote: > > > > - Dynamic events had to be specified directly to still allow them to be > > > created. > > > > I have a question about this point. Does this mean the

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

2023-11-29 Thread Steven Rostedt
On Wed, 29 Nov 2023 23:58:21 +0900 Masami Hiramatsu (Google) wrote: > > - Dynamic events had to be specified directly to still allow them to be > > created. > > I have a question about this point. Does this mean the dynamic event files > will be created in the instance which limits the

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

2023-11-29 Thread Google
On Tue, 28 Nov 2023 12:21:17 -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

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

2023-11-28 Thread Steven Rostedt
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 the events in systems that they care about. This currently only

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

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

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

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.

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

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