From patchwork Fri Dec 8 10:30:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Masami Hiramatsu (Google)" X-Patchwork-Id: 175758 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp5364784vqy; Fri, 8 Dec 2023 02:31:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IGmOuKjDJZBSq6P7GhNc9TgUj7T02fAxVM7lLNKumdq641K7nfw3lf5SJi2uKSnUsGtuiMO X-Received: by 2002:a17:903:2683:b0:1d0:6ffd:e2d1 with SMTP id jf3-20020a170903268300b001d06ffde2d1mr3744459plb.107.1702031511573; Fri, 08 Dec 2023 02:31:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702031511; cv=none; d=google.com; s=arc-20160816; b=xKd1CIH7gwvXZJ6O7ZwpkrWoe3W+4fRc/LkRk8Cn9obbOZb0oeeGFJh1Xgj4wqAaMZ wzpBe+UkZTs/BRLJ2bgcoGY6cCYi1cDVHNYm2w3uci8dr86kyDGJWxjC/Eya82hsvhP/ TlzGhdYRM+K+0CY6NEPCJAYWAjDvcIfQFvp1ooL6loqFV8xGpnX/vLE6KagLwH1QUqW6 7xNFLzjyVzMDL0SIsIz+Ts3MEB9qqrrwY3fuHMfKgK6QL0Ki/5xmS1tcJ2PWWe7+0tDx 1RNEFvcj39oIvmceETDtVIaWKCt5GhDYNLYL4qYdjT6zZY9yuNnqtQ/QeQAIt8vztAxg 6nUg== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NRt0pRDVMb2HoTOOgHKbTFmgFt039oUBjnBj47jnGM0=; fh=SIgps5XdV0XNwjZfT2uAI7g3mrspDldK9Qs8qQAfoa4=; b=zDw6l6aT2BqouitJsf+bLP7ShlAxHZUiVGtRjwPQpPo63huGTu7C+fT/uTTdC9bZWC O1xjYT/6GejdInCNOFpt4Kbpl6BcTBpdso42HexjE7U80TaVIuV2tvxfTqaaajyZE9jO 2WxFm3QRo5d5Hkv7rjzmSE4UNzemBpMD37cnPjkzOjJ1beP5P1GIpNNQtx5LQV6wN456 a8Xzdqx6d3SBzOuKCs4RRwTQ7y5EtWG7ORUsfLgZZh0kiyhgywsoBpjkVWeXQRfGH+vy NdpW3UkufmmdzH/sAs6oUvvg+Dq39VKzU+hxsCi2O1WAWMqupH1oDJSdsfWiQydVCdYK 18eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RqLPmJs6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id h12-20020a170902f54c00b001d0ba4101e0si1422128plf.381.2023.12.08.02.31.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 02:31:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RqLPmJs6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 718E681113B3; Fri, 8 Dec 2023 02:31:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573606AbjLHKbb (ORCPT + 99 others); Fri, 8 Dec 2023 05:31:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573601AbjLHKaw (ORCPT ); Fri, 8 Dec 2023 05:30:52 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDB301BF5 for ; Fri, 8 Dec 2023 02:30:51 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D7A8C433C8; Fri, 8 Dec 2023 10:30:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702031451; bh=AhqKrJz5NqAxQZJTxzvS35/o9mTQRDXLSjKOCvX5P6o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RqLPmJs6TkupePJ2oGnCaudjklWh6g++k1H9atKQBrD8KabE4wb6g0uuD33T+1eFK 0nemWBH76Y3LbfpdXMkgjEygZaAidOYJe1SG1a/7EOCNl+y+48+w86GAexcyZIyGFz matj65644y6tNsVQrLQxs4AuK4aFqBZzCjf0OB8eBE4FyKh8sogPrXEC9BZbI4StB3 9rswzhCItDzN+9rv07YxsBeZEfUNbwI4lsklJC5H2CPgwS6WdIn999nP6mdqC9Ernt yo9M+vquknu2/xp+j0C4IKIgZSePQQmHEoShiXF1pHg/oShog2UZq3BVxVq3SWz1qK LfpQzJ1P2/BLA== From: "Masami Hiramatsu (Google)" To: Alexei Starovoitov , Steven Rostedt , Florent Revest Cc: linux-trace-kernel@vger.kernel.org, LKML , Martin KaFai Lau , bpf , Sven Schnelle , Alexei Starovoitov , Jiri Olsa , Arnaldo Carvalho de Melo , Daniel Borkmann , Alan Maguire , Mark Rutland , Peter Zijlstra , Thomas Gleixner , Guo Ren Subject: [PATCH v4 32/33] selftests: ftrace: Remove obsolate maxactive syntax check Date: Fri, 8 Dec 2023 19:30:44 +0900 Message-Id: <170203144437.579004.4423247283109714307.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <170203105427.579004.8033550792660734570.stgit@devnote2> References: <170203105427.579004.8033550792660734570.stgit@devnote2> User-Agent: StGit/0.19 MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 08 Dec 2023 02:31:43 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784709393980879212 X-GMAIL-MSGID: 1784709393980879212 From: Masami Hiramatsu (Google) Since the fprobe event does not support maxactive anymore, stop testing the maxactive syntax error checking. Signed-off-by: Masami Hiramatsu (Google) --- .../ftrace/test.d/dynevent/fprobe_syntax_errors.tc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/testing/selftests/ftrace/test.d/dynevent/fprobe_syntax_errors.tc b/tools/testing/selftests/ftrace/test.d/dynevent/fprobe_syntax_errors.tc index 20e42c030095..66516073ff27 100644 --- a/tools/testing/selftests/ftrace/test.d/dynevent/fprobe_syntax_errors.tc +++ b/tools/testing/selftests/ftrace/test.d/dynevent/fprobe_syntax_errors.tc @@ -16,9 +16,7 @@ aarch64) REG=%r0 ;; esac -check_error 'f^100 vfs_read' # MAXACT_NO_KPROBE -check_error 'f^1a111 vfs_read' # BAD_MAXACT -check_error 'f^100000 vfs_read' # MAXACT_TOO_BIG +check_error 'f^100 vfs_read' # BAD_MAXACT check_error 'f ^non_exist_func' # BAD_PROBE_ADDR (enoent) check_error 'f ^vfs_read+10' # BAD_PROBE_ADDR