Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp3376599rwj; Mon, 19 Dec 2022 17:46:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXvlIj18ml3aDFQ0WYNzARu0XLVa50iJPI0byRB2IPcbYBTOwpzt/KcR3vhHBBOYrmk4/U8G X-Received: by 2002:a05:6402:5514:b0:479:1fab:430f with SMTP id fi20-20020a056402551400b004791fab430fmr7037234edb.39.1671500819565; Mon, 19 Dec 2022 17:46:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671500819; cv=none; d=google.com; s=arc-20160816; b=F5O9pGw+QDrwsumnGNjK/4ovS3gegZ/tWkia63E1I9PvBMk7D4iNJ0nc/iEO1s0VQs VrkuHSgZeatjCxf/rb1uvtlle/R6mejravpTRgsKsMshGuCC/gpEW7uunS/0y6J0GVr6 OBa708T42iyJq02gDN4+Obehj538I4NSukQ3Lzp90Az/hzD0X4kLQTMiFEdJgDje+Zup kmOQ6jUU5K/P5sCci21ustYS9PsbUIE8QaFIgGDrDQnS47+uONNY4pe51j4t/SaLKg7F zU7ELmlCKWAJO9YmmcFRoaIxNINDfkFUWDBR9M4MZlsw46oDaXEIBxtjjcQD1qND/Bxz 9NgA== 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=v2R9XHahcf/vljakzKG40Prt/jpqkY2qKXWsrhgLV+8=; b=mNCQRUXMKgFoIYQB2Dkurpb2btwA39GhDWynzmWKgJPGRB32kH1gPR9jIORQ0JDBIX 7yGrUyNGzCLBZjkGAAA5FIZAeDTVX8mfT+zmSHRfm6QI4Cf5q0q70oTBCzFuDrA8cnSx WNgP3rNLjK/vJJNyosWrMhX/apShVSUkVZ7bXmFk4c0gnsASkTaVmIXwpj0tezDhlEYk 1fbIcuhTKrGh+w5ccuixnlJ68dgZHbj7A6JnvGWXwLFtTaOY79ywQaXs95FANnsgQRUv 9jd4fDyfqQSG80PPkWgDRi5AWk+AGUCfkyomkGE92GeEDUB5JsTrl8wMj2aApeY52pG8 SZhg== 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 i23-20020a0564020f1700b004614db9789asi9433746eda.127.2022.12.19.17.46.42; Mon, 19 Dec 2022 17:46:59 -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 S233300AbiLTBZC (ORCPT + 72 others); Mon, 19 Dec 2022 20:25:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233173AbiLTBWh (ORCPT ); Mon, 19 Dec 2022 20:22:37 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA685E0C3; Mon, 19 Dec 2022 17:21:49 -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 ams.source.kernel.org (Postfix) with ESMTPS id 99887B80F9B; Tue, 20 Dec 2022 01:21:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43EABC433F0; Tue, 20 Dec 2022 01:21:46 +0000 (UTC) Date: Mon, 19 Dec 2022 20:21:43 -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: <20221219202143.7fd28ac7@gandalf.local.home> In-Reply-To: References: <20221219183106.518341498@goodmis.org> <20221219183214.075559302@goodmis.org> <5e3e9408-8ddd-3649-ef98-4bd611c528cc@linuxfoundation.org> <20221219173507.410915a3@gandalf.local.home> 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 17:20:39 -0700 Shuah Khan wrote: > On 12/19/22 15:35, Steven Rostedt wrote: > > 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. > > > > In which case, > > Acked-by: Shuah Khan > Thanks Shuah! -- Steve