From patchwork Sun Sep 15 09:12:35 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: 13804757 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 B4B4B1C689B; Sun, 15 Sep 2024 09:12:40 +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=1726391560; cv=none; b=bDmh0Cl2Obh7kahGsd3PqfWvk15rcL9dnmLKhgWBUU8+Kxh7HBmezHbetAEw8eYoqA3S+cPGo4Toh1hm7ahvZZn/3bfW249ZuLI8MIx2fnnLw3ZqfDYfQWJObCpIUO1mBD2HT/WqS3piPKQSwmIMdmx8CdNOTbkNYpNXufXz1B0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726391560; c=relaxed/simple; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=NBTfxLvmsfGRCZ0Ar3NKghOpy7dpSgwX1D6TbvtDq73AxzEFaH4gBZc+bZw8Xi9L66ODzzn3OyUFvEfPKHsobOxOCyWXBGfNewjem5cwdm4XBDTJuygPki6YNO35OKYvgW90SXpr+98fb3qrqKCv5Jugj/9Ncfb11u3OLEMP8sg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IgLRop+f; 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="IgLRop+f" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D34E9C4CEC3; Sun, 15 Sep 2024 09:12:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726391560; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IgLRop+f0EFbOh+YvBUrCrFW9D9SYC1Fqb8xzPaZOv6Eu8s1guT5nkUwyDWgGrv/y VDEdf+v9WtiKZVZiZRnD2ATK9HtOYjBJcaAhF3UIY/bklOhHt7Ul9BzN/6NWg29m9x fpKw25rpM4uXOUB/Rl5v+oEGuuJJCPJBAyOY9EnjqO+Kzu32Gy3X0JAYqpLuSc7e/c dugpDGqcRpPbD7phdewx/Iax7yIR7FA6qbvPF9tq5joesULOUyd+r6mvFLzJeH9tlI 02dB+G36RkNJKOESGiymFo6ErXt+RdAK3MKshiojipxShb8an2idOw4ntlPsXUEPXb ND9LuHRo+HQCQ== 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 v15 16/19] selftests: ftrace: Remove obsolate maxactive syntax check Date: Sun, 15 Sep 2024 18:12:35 +0900 Message-Id: <172639155503.366111.18154967940821774431.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <172639136989.366111.11359590127009702129.stgit@devnote2> References: <172639136989.366111.11359590127009702129.stgit@devnote2> User-Agent: StGit/0.19 Precedence: bulk X-Mailing-List: linux-trace-kernel@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