From patchwork Tue Dec 10 02:12:14 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: 13900661 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 15D371C305A; Tue, 10 Dec 2024 02:12:20 +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=1733796741; cv=none; b=J4lJRdLkd38q8DKLHzIwrtV29+zpKWaUinirQOT3kh/sSHJfZmEiqMWnNQ78cdgRrFK90NmzNxN/tk33010oJqSTOqBHrlJvjbvVnIEfNc9oxVU+sA09SAeVwfuOrin6h5TlTLZIQuChmyhtnkCRKJYM/isx+olU6qOB0ZSUDpE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733796741; c=relaxed/simple; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=sqwe9sdZN9t6iW4HgWZNjamzn+O4yLB1RPfVt3Be3b1sZtJ1nyY8953NxZ478KNk6dCKnCuBqdPzRSM1W7KvlADG5jcq7ESFUzZYFRCouGxq2FX5Yx6zsVjfjYpitot5yWNKwYpqzV9+zFnz0TqvgHcEm2xYnncwhJvAXtlhHWI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XYvjhi37; 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="XYvjhi37" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45D2BC4CED1; Tue, 10 Dec 2024 02:12:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1733796740; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XYvjhi37zwMnmXiY3MlgnFfF2V2csiR3hbOV4u3u1GR05jlqLVPHwQypcfbBc/6tv whA+27A4lpJIDg+sM66X7oYCONK6wQ3mep+9RttN/OOEs/z0El3SJwOv1bz+zSkBdM lHPV+xeEPzNadEItjFZJxi99tHF6n12UijC04pOTeIF9suzsfPfa1g8MsekIcbrgwO 9H2d9oXeBfbN+oPlOeGudXEjfK7p2lb5R744JEV3EM1KbPARnSMj0vDA/pyJukhFNa eyC4AYwX62/hSETNfFXbs9ky32ETVmgxBxPR4UTiKi/Qh27QVcZYN8U8vKIy6R7H3z eluqG6kOEbP/Q== From: "Masami Hiramatsu (Google)" To: Alexei Starovoitov , Steven Rostedt , Florent Revest Cc: linux-trace-kernel@vger.kernel.org, LKML , Martin KaFai Lau , bpf , Alexei Starovoitov , Jiri Olsa , Alan Maguire , Mark Rutland , linux-arch@vger.kernel.org Subject: [PATCH v21 16/20] selftests: ftrace: Remove obsolate maxactive syntax check Date: Tue, 10 Dec 2024 11:12:14 +0900 Message-ID: <173379673463.973433.782737454522874207.stgit@devnote2> X-Mailer: git-send-email 2.43.0 In-Reply-To: <173379652547.973433.2311391879173461183.stgit@devnote2> References: <173379652547.973433.2311391879173461183.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