From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7A12C4167B for ; Tue, 28 Nov 2023 14:20:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346134AbjK1OUF (ORCPT ); Tue, 28 Nov 2023 09:20:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346021AbjK1OUE (ORCPT ); Tue, 28 Nov 2023 09:20:04 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 789F5C1 for ; Tue, 28 Nov 2023 06:20:09 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26D25C433C7; Tue, 28 Nov 2023 14:20:08 +0000 (UTC) Date: Tue, 28 Nov 2023 09:20:29 -0500 From: Steven Rostedt To: Dmytro Maluka Cc: LKML , Linux Trace Kernel , Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Sean Paul , Arun Easi , Daniel Wagner Subject: Re: [RFC][PATCH] tracing: Allow creating instances with specified system events Message-ID: <20231128092029.342f5f03@gandalf.local.home> In-Reply-To: References: <20231127174108.3c331c9c@gandalf.local.home> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. > > Besides that, the change looks nice to me. Thanks, I'll make it into a more formal patch set. -- Steve