Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3794003rwl; Sat, 7 Jan 2023 06:02:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXtjtynCEViQGYN8DKJihCQTnMKe7HBRwCj/gqzwyO/Smt5PLiIuLG1WWOxRc12BzVDg4HDm X-Received: by 2002:a05:6a20:939a:b0:af:9539:a29e with SMTP id x26-20020a056a20939a00b000af9539a29emr70900224pzh.16.1673100161141; Sat, 07 Jan 2023 06:02:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673100161; cv=none; d=google.com; s=arc-20160816; b=K7hqJury3scoznKZhVEEQsdtyCeX1CV21IoZznCkVfF38x7usq5w2lY7A8ptBaQAvp oOaRlQpjfekhMsEJ6hVplco83sFbtsSZYC61hwFCjsK9j2tfcxChfb2rK1wonHNY2+PO RQt94WK65R9effsm25sn1YZtekHoWz1eCa9Iisof99fTlMoTO+5EpPnNMT8O1cqgdnQe OmPCY02VhJvAqDdBsWqjePxWjraEkV99cKYCevCJ5liM1YDgBMgIWLjXiHH4fX60TeQY 4vF0OGqwaGv22mQ8sO6im4h/uGccaqsKpRKayqJPNUnpez2145wI/OtCyiBzOP58Q/BE eRFQ== 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 :user-agent:message-id:date:subject:cc:to:from:dkim-signature; bh=n/+4L7mAdMbhy8qXnxgZ3V/3ufCT8xqJDEF1JLYr4ck=; b=YhjwnVrHk1E83lvtSOsloLpV6QQP8jc4POr8qbJzVYbjV0pI/CKHdXjFy3QsrOQaML zNdFFCHag1w5vftSpu7SZMmjvQUDoNbDRhN60ryz9o1ZtYSkXAXgP6XzdjYCCviuReuZ Se6Xve+7c/RrxqP3MbnO1ycxA4GTd0DXUJ1Ny3r0+QpNGYSVS5WZKyBgijH6Zv9qeAt0 5eSJoobXL5xjgIzfEHTDjkClWhsShCaHCbg4HRc/SJO6JsFB4IK2cQlovIS3DqT/PyKb xYci46WfcxD8bNvpXB8tXHr9EiEZASkHm5M1xKPYljQeXE856PUVear1WSEtSlaqVSyV 4E/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BDzvTJeU; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o4-20020a655bc4000000b004a4677291e5si4579310pgr.606.2023.01.07.06.02.33; Sat, 07 Jan 2023 06:02:41 -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=@kernel.org header.s=k20201202 header.b=BDzvTJeU; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231218AbjAGNcU (ORCPT + 57 others); Sat, 7 Jan 2023 08:32:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbjAGNcQ (ORCPT ); Sat, 7 Jan 2023 08:32:16 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 924105DE56; Sat, 7 Jan 2023 05:32:14 -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 43C7BB810AB; Sat, 7 Jan 2023 13:32:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3767C433D2; Sat, 7 Jan 2023 13:32:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673098332; bh=/hMzieqMHtR6JL4OjdNz+jKYqIqXve8DlL6+sdK1Zp8=; h=From:To:Cc:Subject:Date:From; b=BDzvTJeU2MqZNHiAConWZfdz2OVojsBipRJ9f6qmwARcf1QhRXgz4AqFYNaugImQs M+iTKhiYhQ6AUtBkUDUouX3Xhr7VLTddz0S4TieIumhFMtgDGDF23zYKv5fuWS6B75 /Ur2RoVQpNtqa5wn2ZHVdY5n8zc1OplgU1L7f4xLWXIJYk6l/wKHKgpQHXRJPLx8iX +D3YwMQjWNZ+U9Wkvwdh2h7y762zb8xQGxnqPM0SWeOHIrJIhvsJ1cuTpyoENpZGHK 2sfHAhjcVu+Jx2cRyDVxOeBD+B+2Qvrsq96tRlh6PwPwPG6deEgfruYprvxiv2ddrF DdhCFm5TufECQ== From: "Masami Hiramatsu (Google)" To: Shuah Khan , Steven Rostedt Cc: Masami Hiramatsu , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH 0/3] selftests/tracing: Fix some testcases for recent change Date: Sat, 7 Jan 2023 22:32:08 +0900 Message-Id: <167309832823.640500.13244630381161014364.stgit@devnote3> X-Mailer: git-send-email 2.39.0.314.g84b9a713c41-goog User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 This includes some patches to fix 2 issues on ftrace selftests. - eprobe filter and eprobe syntax test case were introduced but it doesn't check whether the kernel supports eprobe filter. Thus the new test case fails on the kernel which has eprobe but not support eprobe filter. To solve this issue, add a filter description to README file [1/3] and run the filter syntax error test only if the description is found in the README file [2/3]. - Recently objtool adds prefix symbols for the function padding nops, and the probepoint test case fails because this probepoint test case tests whether the kprobe event can probe the target function and the functions next to the target function. But the prefix symbols can not be probed. Thus these prefix symbols must be skipped [3/3]. Thank you, --- Masami Hiramatsu (Google) (3): tracing/eprobe: Fix to add filter on eprobe description in README file selftests/ftrace: Fix eprobe syntax test case to check filter support selftests/ftrace: Fix probepoint testcase to ignore __pfx_* symbols kernel/trace/trace.c | 2 +- .../test.d/dynevent/eprobes_syntax_errors.tc | 4 +++- .../selftests/ftrace/test.d/kprobe/probepoint.tc | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) -- Masami Hiramatsu (Google)