From patchwork Thu Sep 12 15:11: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: 13802288 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 806911BB687; Thu, 12 Sep 2024 15:11:11 +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=1726153871; cv=none; b=LTkMvqloi+bU4UU4Ktk+42KGfkj+eHtyikDlUiPBXHjZkhqUA3HmKHEk6zf0zKK0VqpPZBwPwTX9jKnxHi2pxr4EK4SGqiOAWC6cqAfLO6ogTEPKKLYdAAsEmoaDarHZqZ0NJ0iVUHjMvP1KtNPAGjcm2I7ei6Ml8aBGgOkSde4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726153871; c=relaxed/simple; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=WMB5Gao6XlVeTLoNQaSI7oR3ipG4JWM1wxaYNEmR5yDgiTnWzQWkRy+t6/cSCZw10V6UZSaSgpmvTgky6ei4Z+GQz3ey62p7zUjVfhG1+HMHea0dwjtAN/cdVs6eMKt0+ku9e4W5Crk6/7kEXlChGk8bddEmm1UiZ+8mvLtx/pM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hjH2lzBv; 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="hjH2lzBv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3761C4CEC3; Thu, 12 Sep 2024 15:11:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726153871; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hjH2lzBvlZZHjrAeaTXPm8zBBj6CDG9Xhwg+xZqErvWoOGH5WfOiuk/o7WKXaF9Mj gpALDkviPew5lFRlF3v+/5P8ZOqSLRdPxoaMyywNGjU+WfxhogrhrH9gICHpdsIQMT +rnYRn7fcOntlY0EpyM4VoJItjG3zLZ2EOrjO/5JR0o+NkpP6sAtqfKU55pHOI4Ht2 BXTMRTYOanjvI4iomfrHu1iUhJgMOYVvIzG4KX0tclRNGdw9HaS3BGD5T6i4uffv6o VznKjWXf3vYhVIvV+qkyav+wgb7RaTD4+p1EA80U3Qd3O7UykkBcEQXN2UYVugRolW y+2kQ3YF3/81Q== 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 , linux-arch@vger.kernel.org Subject: [PATCH v14 16/19] selftests: ftrace: Remove obsolate maxactive syntax check Date: Fri, 13 Sep 2024 00:11:05 +0900 Message-Id: <172615386546.133222.17413396654310473442.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <172615368656.133222.2336770908714920670.stgit@devnote2> References: <172615368656.133222.2336770908714920670.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 61877d166451..c9425a34fae3 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