From patchwork Sun Aug 18 12:50:50 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: 13767417 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 3CA08145B26; Sun, 18 Aug 2024 12:50:55 +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=1723985456; cv=none; b=lDydAsifLZpwkHsF+0dmUhDqokbLbsXOdDuuJpfTdE9RbBDYSo0i/dYiAtXBzn4B1LGjuSAlcr2V1ICVuHidH0BMGSV0bmmIrmfXTdlsPlie77o8Io56z4gJIu+WY8pcWcPX5bnOQia+xMSTBcZsdMcNOEPfTEwtlBg33v+t/cA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723985456; c=relaxed/simple; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=mRdsUwNOzcg9SyCz4xqjCnDTjS6Z6aRsiQC+155QYEQObmklq7oOIhW8F+HDW7cDmnWN5rae+lYIR2AizhsDvp5qRVXsmxX1BzygXKmWrhQ0QjdCUwwpBgBbWnUo0JB67J2+50aQYllRr1SWgg+WspU7TJ3AOIzy18gQ9PHvuzM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eVO6hHib; 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="eVO6hHib" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD72FC32786; Sun, 18 Aug 2024 12:50:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1723985455; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eVO6hHibl4eHDxVhplBawDpDyZrts0+P63gGOSxsBi5q35+JDQN4jcDGXDeLf3ee4 bSxBTCHANn0qOQtuIKWDeJ1nX1Yj5sduWyHqxOiN9ti3LfrVtMMHOHP6lOOJQvTLdc Yh90H6ThKyTrVxDQpbkSWZ0t6pRtdR5ejhw/dQr8bdnJj/rKz2C9VATfiSX2aZhtCM JMrEJkgyi0TM5PurjZj6nrzeA9CpTglgZzvc5UbOBfQgUK9OP92SC5Mdv5py+pAasq 7EsxmhF4cwhcn+Th8jKUBCZkc6qYUI6yOjzQuwrYJbXVBnJtpK3EIYuOsVigWETT4P 4wBh0QNAqDWuQ== 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 v13 17/20] selftests: ftrace: Remove obsolate maxactive syntax check Date: Sun, 18 Aug 2024 21:50:50 +0900 Message-Id: <172398545028.293426.1174130383735864366.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <172398527264.293426.2050093948411376857.stgit@devnote2> References: <172398527264.293426.2050093948411376857.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