From patchwork Tue Oct 15 01:31:27 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: 13835618 X-Patchwork-Delegate: bpf@iogearbox.net 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 B04631E86E; Tue, 15 Oct 2024 01:31:33 +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=1728955893; cv=none; b=JLJIJXtHbVa21oJDFnqpDTZ0iBn6H90ntEQ6OZ8u/qNvRZlntZYDmGW6Odz5e6MQ0lo0uKzfENyEVqsRZeCWsISdTYZh+EbQ5BD3hgylTBQILKnCE75tous+VIju93487PoUNo5oJ1NH9PxSOsxfVOq25QypGvOF8zefRg8qo8c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728955893; c=relaxed/simple; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qAHS3TT+PuMMkXOF3weGpw/hVA7s/DHtbr6DRcsm1C94fJQdnOzgqh7EJwy0lKyV+2Hn7N0EbOVC8Oyh8NNPHG/s3V9QYqPbDUybddMEQpqqPIa4HmC9jxP0de5Zo5lCEIGmJYNRGKzdAxqfwtCsQ042Vu2R/QoxBYqIl3QuNdA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MH2q1Vq4; 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="MH2q1Vq4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FF62C4CEC3; Tue, 15 Oct 2024 01:31:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728955893; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MH2q1Vq4ZsgZBhWdOB1vaomiCCTNGOx2EXZV3ayHBGhq4nRgM9cAOGqRD9ok+UcOC zlxnc8WilL6hppmesd6DQiPrfaGRuazkOzVqnDOpPb4gbZB6z5WJPpj7rjR0xBGyw4 Rntuhp9vFC9YWJNZombxNAETtq0sXQXy3rdoDlJkZafbM7R1EBcoNzJxSexCGori7T m9/xPedlDh18nj2xL8fcG60zd4uonTY+ik5yXZ38kqtoiTE1QDnz+iDZGfRPdDOAvi O5LYu+C/tVYFbKz3ZbMP5OGiQN5hJMnovnhht13cQ0np/xXC+wI3XwTa996ovmCETC iGmkvCON3mT8g== 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 v16 15/18] selftests: ftrace: Remove obsolate maxactive syntax check Date: Tue, 15 Oct 2024 10:31:27 +0900 Message-ID: <172895588722.107311.6309292494865953766.stgit@devnote2> X-Mailer: git-send-email 2.43.0 In-Reply-To: <172895571278.107311.14000164546881236558.stgit@devnote2> References: <172895571278.107311.14000164546881236558.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