Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2179255imn; Mon, 1 Aug 2022 14:15:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tWEOkBimoHE5001mumnpAjQ7oXV936RyAPAYCYGWDXxzx33gENrLKuywwhhNY2spMUaPxB X-Received: by 2002:a63:fc1c:0:b0:415:f5f1:f7a7 with SMTP id j28-20020a63fc1c000000b00415f5f1f7a7mr14734134pgi.332.1659388507592; Mon, 01 Aug 2022 14:15:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659388507; cv=none; d=google.com; s=arc-20160816; b=UlaMaOZffGKuqYpqSAjcqH+vbC/tI1YpULUheogECTh1uwLnmeiIRVPfwqaacKOL3D 2WJrQwj/pR3r/whUquME7XDw+tK4PgPdx848x23VDgnAgEcP9DBFfUzh0PxnNfc+W4u7 rWHYV5Xy3lcSsmio5qdzHSVJieOJPdmb880tSFjUG9fp6k0YnLca1Y55vvFoSP6idIL4 7l9GmIXdVSj2Rc4ZBKwZJcDFBYTg6245T0Swjibh5lT2SHTvDdzc70h4eJr5krPLmDBY VPKojnyIbPABarGk8sAN+z3UpqvU/2U9FqXkNmsRX+DpkzkIFi0feEZH4gGz0Aa5LAro HPKA== 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=xBOIRMwDjYyDqFYmmur5rI5BZO7UP3Nc5FMuQ8eM4zU=; b=FJFVmm12WOltqNfogrsrc7/TcmD7/cSsRVl0SnmfP2Vf5yKfpmN1jPMZIeKc3hHT16 b/5wASErkwfmcgRbhTZXv8nfDMi5itVty6J/O4H19AnPQTr1LY6JWtT6X35ysCHnSvlR JvTA5/gFgoBSDYbukSVcf9R4UmEfSXrR6wtIEKk/UjnnxRHQEvik8mgH+fP8cpCuF+2o rtgthsCXRzvW+hO5f8OTRbWOzzxTdg5Rq6k1/qd4buUqt7cn9t0S6AT6YwokMAQKiao0 Ho+G74vKcragDD8DozgtFFf3Ewy40M/rxy5TB0DWos3MmUUftEKWYrqUlr5KtsWDch0f bPtw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b16-20020a056a00115000b00525375c2b26si13213899pfm.275.2022.08.01.14.14.52; Mon, 01 Aug 2022 14:15:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235022AbiHAU6a (ORCPT + 99 others); Mon, 1 Aug 2022 16:58:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235147AbiHAU5u (ORCPT ); Mon, 1 Aug 2022 16:57:50 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1D4045F42 for ; Mon, 1 Aug 2022 13:57:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0BC3561225 for ; Mon, 1 Aug 2022 20:57:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E39ACC433D6; Mon, 1 Aug 2022 20:57:12 +0000 (UTC) Date: Mon, 1 Aug 2022 16:57:11 -0400 From: Steven Rostedt To: "Masami Hiramatsu (Google)" Cc: LKML , Tzvetomir Stoyanov , Ingo Molnar Subject: Re: [PATCH 2/3] tracing/eprobe: Add eprobe filter support Message-ID: <20220801165711.3b7523e7@gandalf.local.home> In-Reply-To: <165932114513.2850673.2592206685744598080.stgit@devnote2> References: <165932112555.2850673.7704483936633223533.stgit@devnote2> <165932114513.2850673.2592206685744598080.stgit@devnote2> X-Mailer: Claws Mail 3.17.8 (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=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On Mon, 1 Aug 2022 11:32:25 +0900 "Masami Hiramatsu (Google)" wrote: > From: Masami Hiramatsu (Google) > > Add the filter option to the event probe. This is useful if user wants > to derive a new event based on the condition of the original event. > > E.g. > echo 'e:egroup/stat_runtime_4core sched/sched_stat_runtime \ > runtime=$runtime:u32 if cpu < 4' >> ../dynamic_events > > Then it can filter the events only on first 4 cores. > Note that the fields used for 'if' must be the fields in the original > events, not eprobe events. > > Signed-off-by: Masami Hiramatsu (Google) Hi Masami, Thanks! But I'm not going to be able to add this for this merge window (too late, it just opened up), because it's a new feature. I'll take patch 1 though, as that's just a clean up, and then keep the other two for the next merge window. -- Steve