Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp3280059rwj; Mon, 19 Dec 2022 16:03:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXtfiDHifnCns9UObnB73yJioNOZPbBgPX+auVMLpyZWJz3Mtk1RneB7dL3VoZ7jt3NUEKyy X-Received: by 2002:a17:90b:3744:b0:219:89c2:b70b with SMTP id ne4-20020a17090b374400b0021989c2b70bmr12826733pjb.16.1671494593281; Mon, 19 Dec 2022 16:03:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671494593; cv=none; d=google.com; s=arc-20160816; b=uM4JpAfRTl2AdSa+mWKAzmlZEtwI+Wmbq+dqgHVdJMogJ2XXt+m4r7QcMknXK9DhXS Nli04aBzgEpBphu5v40HgXwF8b4XMIdmfbR4haEiZCBDUXzDwj+EDLH8rerngKxFz8vv rbQJp+Wt/vu3tE5rm9dc3ovwQoXPB7jDlnUtYR6IGdr86gQL04hAbBW+Ob6eJuKoOKhp HEkew2A4Q2JtkrFPPc96yzd76zJvINPIFb2EuOADoFUUaf1n1AjiJgOz28mt0pT8rN4x aV8zej2Ro7cdFMgPiqHMJtlewujRCvzF832T3FzONT2oFypl+Gy2Kft5r05ZhmdB4wmc rJ4w== 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=rA89GGdpOswWCbdHh1VIojAdDX7oUnsqEH2WHLeZZEQ=; b=gLJ7tSLHEnwt2W3RGEOOiNbILY5XLOdYcjsTiZtyN8DAn1WC9VK91MjGT5tZWW4IGt ISoLjkSXvUS4zZqI1eBBFBh+rHNyFU0JksqJExqtGPb6Mm4GyW1rTZI/UU7jrK2ODlCF Ow/upODHnEKDr+zIdsXoUKEW4ofNXPwB+Lp/UhmG3jD4AmLnJ4XDYmoOnkXjOsB7EmsB z80SrUUrke9VrXxRu13m8DlAYn/SGfeQUaPbRPdgT9R4FSbqRhjSe1paw8n9iO8jokP8 X31b0tYHZ83o6lKNbWJ+oTteIdaaXSJFkBDU6KzxGYO2JN6JR9GrliAiCxewYocVS8cO 1ivQ== 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 co21-20020a17090afe9500b00219b9479155si16651105pjb.187.2022.12.19.16.03.03; Mon, 19 Dec 2022 16:03:13 -0800 (PST) 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 S232704AbiLSWfO (ORCPT + 70 others); Mon, 19 Dec 2022 17:35:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229532AbiLSWfM (ORCPT ); Mon, 19 Dec 2022 17:35:12 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CE9B6254; Mon, 19 Dec 2022 14:35:11 -0800 (PST) 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 CA37D61183; Mon, 19 Dec 2022 22:35:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B5A3C433EF; Mon, 19 Dec 2022 22:35:09 +0000 (UTC) Date: Mon, 19 Dec 2022 17:35:07 -0500 From: Steven Rostedt To: Shuah Khan Cc: Ross Zwisler , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Masami Hiramatsu , Andrew Morton , Tom Zanussi , Zheng Yejian , Shuah Khan , linux-kselftest@vger.kernel.org Subject: Re: [PATCH 2/2] tracing/selftests: Add test for event filtering on function name Message-ID: <20221219173507.410915a3@gandalf.local.home> In-Reply-To: <5e3e9408-8ddd-3649-ef98-4bd611c528cc@linuxfoundation.org> References: <20221219183106.518341498@goodmis.org> <20221219183214.075559302@goodmis.org> <5e3e9408-8ddd-3649-ef98-4bd611c528cc@linuxfoundation.org> 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, 19 Dec 2022 15:11:39 -0700 Shuah Khan wrote: > On 12/19/22 13:57, Ross Zwisler wrote: > > On Mon, Dec 19, 2022 at 01:31:08PM -0500, Steven Rostedt wrote: > >> From: "Steven Rostedt (Google)" > >> > >> With the new filter logic of passing in the name of a function to match an > >> instruction pointer (or the address of the function), add a test to make > >> sure that it is functional. > >> > >> This is also the first test to test plain filtering. The filtering has > >> been tested via the trigger logic, which uses the same code, but there was > >> nothing to test just the event filter, so this test is the first to add > >> such a case. > >> > >> Cc: Shuah Khan > >> Cc: Shuah Khan > >> Cc: linux-kselftest@vger.kernel.org > >> Suggested-by: Masami Hiramatsu (Google) > >> Signed-off-by: Steven Rostedt (Google) > > > > Reviewed-by: Ross Zwisler > > Thank you both. I will apply this after rc1 comes out. It's dependent on the first patch. -- Steve