Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3878532rdh; Tue, 28 Nov 2023 06:20:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IGjJg3o0XxUThZjp8/un54XwpXXqyfDQDx1KRyKsmXEL2VsslhLAq00UQ7kEFppar7THZJm X-Received: by 2002:a17:903:40cf:b0:1cf:b4a1:5cb8 with SMTP id t15-20020a17090340cf00b001cfb4a15cb8mr11972492pld.51.1701181218121; Tue, 28 Nov 2023 06:20:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701181218; cv=none; d=google.com; s=arc-20160816; b=mDJR6UAH8hIkC2xjPT21GGX88jifk9KyjyVblnAyRqxeWWLDgn/5TCHi0BkbAoKTSV BEpnVx1izvXE6nNzE7d3B8KGGMe1vTr6/UwWqF5y+EsxM82dI0TUrYpgRG5zNn4JdEmR GBYYBeuKANQLb5aFcJrPI9nnwIP3SH8ljumJpwXNQKNU1UwHoMzxXR5O3EdnEkY0sf/B yo/TUcPpswe2b49X+Xb/k9ulCG93kTY6BaLzchvqbg2zIFL8wS+F7tEutAxyQUYUbrKz TeCaDNxmyjcLYnnxoqIB+RXgeqMCeKKupHXuypYd+TVbInPE4FmIntN3XqBsKYo7Ub90 f72Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=jsYLZ3RI3yHstFb+QZ1D0wBA4hp/xr+ubSso1AItiP0=; fh=QeZNFh7x9rQyC9U83TOoZBYsPWe4Ugc5aO3NAqxo17I=; b=Dh5ll6elk24gj0cZOQklfOFg4dNMv0j4D7UC4Wonk/1YC+O5f+ruYjiQBpbwJI1i7R fYJJXxcgnaVxP8skW5JFFC9hwFwxMRwZ7ABa9IW3pUp0V0vP4XoMxXdafQ4/lr0CgVe5 oEI+6hi3vigEvx8ytQYRNUaiNte7PlW/DvvMfqq87Tu+6rUwkZyW2dQHn22MPnWFS56N Ouohak+2FMZrkLHiBUvGXYALvNvY/2eN5XDsUC6WnzQu5kyuLR2KHQNpKMuEIHNUmn+g /yrg2pqfT6saKohjwSe21egMK/njjECunBv8sVSzQOf1h99dt8EAg7ahS40I69krqc1T Vvtw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id n13-20020a170902d2cd00b001cfcd32bbb3si5145106plc.350.2023.11.28.06.20.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 06:20:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id AE28080477BC; Tue, 28 Nov 2023 06:20:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346115AbjK1OUF (ORCPT + 99 others); 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 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 28 Nov 2023 06:20:16 -0800 (PST) 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