Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp3182930rwj; Mon, 19 Dec 2022 14:26:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXv/FebfT/o++VrYajFdJLRZwWsAcpN8PqxEJX+3JhbxxkFzRPeuwvyP/PG5JvObyzMdCIp7 X-Received: by 2002:a17:906:3f86:b0:7c1:765:9cfc with SMTP id b6-20020a1709063f8600b007c107659cfcmr4929ejj.34.1671488760352; Mon, 19 Dec 2022 14:26:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671488760; cv=none; d=google.com; s=arc-20160816; b=dKQ8sSUn2t1IcW6r23RM3fnQW+kJN5Am9wAK2jSqiEj6WSj2c0FjiEhUvVhfk2md98 x/WOF2HEIF8OkzcyDZWVn18aXxtOzTpHd5kJJFmMVNV/l8c/ZPxeHT1AXKTmdacnUWJ4 Sueod+7xdhh6/mEtiAQpfWkrrIWEVImbAceyRfa2U+uiWnf3Wr3POhMHK7SRTociyqBs 0kmXUPbRWSyGiasisU1OmvSPLdgm7+N0iL+L93LtAA5VnvTz8GA3XUXL6PKWW71q8nTf APgfLH2z90J6fLmtA6r59g1NmjRQ7hC2pOfvBzKJH5qDaE522EYha6jw3f1p821blh/p +hjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=i+5fBxr0lCerXn/Yuwt3YA+eF3QHf4Pm/K1HNIdR4Yw=; b=GV6KoOmLoamoJAJo3moomnb/Te67dpxWElLi2Fp/ufusMggdrkhmSdbKoWIAXNZx0g vJSws+aEGUfzM6WLGjF5BSGSkSgankae7OEZn9jooItciXddeUqxLfi+rBE5dMCG8Q5V Npbo+hZOPr2HDCjN1zTSArL290qnlOE+++Z4yHson9P9Ud2xvoxF5rEK89T16K104UMT ujD8vIYzrnt4LLwBaQgh9A4sqv9jnXaWq5KSue8wDJgkR5npV0es3ih0zat7JlUq8/aJ kj7sOWnsXPGbjH5DLDK/QhwkFNB55hlmweW+KjaK7CVyz9sCH4s3t2/K3xTsqZ1PRmqN 7gkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=WKqyAZIz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cb21-20020a0564020b7500b0046ae9e1f92dsi8571928edb.180.2022.12.19.14.25.43; Mon, 19 Dec 2022 14:26:00 -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; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=WKqyAZIz; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231531AbiLSWMw (ORCPT + 70 others); Mon, 19 Dec 2022 17:12:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232414AbiLSWMW (ORCPT ); Mon, 19 Dec 2022 17:12:22 -0500 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 145AF164A3 for ; Mon, 19 Dec 2022 14:11:43 -0800 (PST) Received: by mail-il1-x136.google.com with SMTP id o13so5471425ilc.7 for ; Mon, 19 Dec 2022 14:11:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=i+5fBxr0lCerXn/Yuwt3YA+eF3QHf4Pm/K1HNIdR4Yw=; b=WKqyAZIz5MUR5DDQkGcUJRFdyBbNq2tXpvuDOOH+hVMD3E+SxrOeOkx5+TlsJ/sUdT FXk/bdGSfJjW9Y1f1Tuxfw6uG8doVAVWWuCqAR+NzOzS7/dsaclGzGhUYJcCbg5lwmXb o7v99LwuQk5vgQkCJ1vuFxXZCmezv9I4nkb6I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=i+5fBxr0lCerXn/Yuwt3YA+eF3QHf4Pm/K1HNIdR4Yw=; b=u8OzIq4RbAFq5mW33GaHglKo0nSYpRfOMOi2MX3e1xnOQZniEZ4JpwwkuGFAHdJ891 V6fatLkTKRxNOPs9rdWG1LpIe3er70VdwPFvlPHsmrBunNQj7arp4/n42QAUI0Ps2k+v zBCWhPf9JQ7NRgF8MkWllbIsQoYsWMcF5xUTB9CIs3mFQRqri84ftlejw+EyQIpjd6Up tPoRaE7S2wmuWLbs2opE146I3R0UwjEwZMkKcagkKyTi2wawafQIj4jY6LiCLyKWRglc npJGSLgSsMKaeuDz7byoBU9p52kTuFZTkMmEesIbfpZwMO3dF1FLt5ZD3NjxWG4yN6ux jLPw== X-Gm-Message-State: ANoB5pkNU8NyRPeMvJvMMuSFu0RW8G/aXJ5JabAqFC2J2alsvt3UHuXb 6KPcEcErX7uX3NbeYrFvpulLHg== X-Received: by 2002:a05:6e02:892:b0:303:9c30:7eff with SMTP id z18-20020a056e02089200b003039c307effmr4662210ils.2.1671487902382; Mon, 19 Dec 2022 14:11:42 -0800 (PST) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id v8-20020a056e020f8800b002e939413e83sm3602774ilo.48.2022.12.19.14.11.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Dec 2022 14:11:40 -0800 (PST) Message-ID: <5e3e9408-8ddd-3649-ef98-4bd611c528cc@linuxfoundation.org> Date: Mon, 19 Dec 2022 15:11:39 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 2/2] tracing/selftests: Add test for event filtering on function name To: Ross Zwisler , Steven Rostedt Cc: 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, Shuah Khan References: <20221219183106.518341498@goodmis.org> <20221219183214.075559302@goodmis.org> Content-Language: en-US From: Shuah Khan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 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. thanks, -- Shuah