From patchwork Sun Feb 25 15:21:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Masami Hiramatsu (Google)" X-Patchwork-Id: 13570908 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0064D14F90; Sun, 25 Feb 2024 15:21:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708874471; cv=none; b=jKSt1HU59bA88aurC9obX4VyAbX0dDlFGeHvRluM/WCb/sjuZ5RnayTuJkUlGwleH3LkWjXWy2JEpMDpS4Yi/ThdY0K/cjfhmifhsc4M/q5RI92mAL5bg6xcPb1L1n7gmHGcjklP8ZE6KeTzdZ8ixVZPb2iZ/DckaCYsjgfqHnc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708874471; c=relaxed/simple; bh=AhqKrJz5NqAxQZJTxzvS35/o9mTQRDXLSjKOCvX5P6o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=qXgdP45Lzg+WL3G3rRzbu6bCcKgXxp7hkWc1V3615Sn6GVh4x1ozFDDkgiqISsFw2huNbF1RZdp7YcwrSmXTN9ijXMCusQ4yCZu539pWjVA+YuFar+/U7cH8bgHDbeeNKBqZw2rHM4GLPCfBoA9r4t8D6G8maPUT3Wi7aMWvagc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Q+ySXoh7; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Q+ySXoh7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B33B2C433C7; Sun, 25 Feb 2024 15:21:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708874470; bh=AhqKrJz5NqAxQZJTxzvS35/o9mTQRDXLSjKOCvX5P6o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q+ySXoh7HLvNE6hevB5iAblXR2ISEo6wUzvbtcHaXE187FKd5t4cvnVTgg4j8pX2l QZHKQ7RSc04ZaIWA/gWoIrbHQhyfe7lYEm5E1RYigkD1mZk3uouMV07fQQfqv0/0Py 3F3Al2sxZx+9gewJo0P27JXAbt432ErqaNBD4lh+3hhiThrLL7H2B6ZAHAWBpNlMIh BGXIM6lq3mhagovvdvvsvHviiQEFo+rH10ZcS00zg1pojmYV9dSMZCSjiRd0C9hWp0 zZ9ImQtXsih9NM0lfTzg6jcht7I1h+rsGCC5Sy4q1+sQLIMVrEE4iCBVEE4JN/qbmG fUb1w+jq0Levw== 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 v8 33/35] selftests: ftrace: Remove obsolate maxactive syntax check Date: Mon, 26 Feb 2024 00:21:05 +0900 Message-Id: <170887446544.564249.6300287188059065429.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <170887410337.564249.6360118840946697039.stgit@devnote2> References: <170887410337.564249.6360118840946697039.stgit@devnote2> User-Agent: StGit/0.19 Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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