From patchwork Tue May 7 14:14: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: 13657169 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 85C8016C684; Tue, 7 May 2024 14:14:34 +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=1715091274; cv=none; b=TzwjGMpgDLJUoSLT7+GnfMF5MInxyoP4mv484QuN2hZFVIHiBIByolh0YcgNGewc1sgyKojHiMcroI564+BYMpxmx35sW3hPQKTYe4y9MzrrapbGQPSPo896p2tyslXL79z0ZvBoT6nznEKf/jBQ/IfI6QZN2+3CB8HaHdUINkc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715091274; c=relaxed/simple; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=lSc8nwf5ViNtMcXVv8/AdXxKy3ZnWkTJf4L6xqFx00j5Vx9RjviKs/RTbCitjsxXA3q/8MKPq6N41ACHf9x3FcRx9wpC+wiusRxwCKPjFX68iLdg7bHI1BXQPmsZ0qVpCbW5hbxinWKEvwVAF45leOwKvy0MIUoA9+IeqKFtHl4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Q66lvOV4; 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="Q66lvOV4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DAEDC2BBFC; Tue, 7 May 2024 14:14:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715091273; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q66lvOV4Nhaer1pSuul2OXBcyjKHVwetMsSBS3FZobVW/OwnFkoFdsEGs/gtYaJe6 sOb8HmPiBCtLHOcIBLUrLoaPq518zceYPS/FBJe8x1QEoj3fspmQdpc/fPfwzinpMu raWfayyluGGdYt/RkqQd080BRNUne1lkrNpvxmX7DD2UfO0Fr2ci0kaq/ZUZmQxejl 8LA8WnSYzKYw7muqPbxY+n8v4DjKw7gm1qY4Eb55pDvPqSY+ZPS/Jmbu3TwcUpRS1w LF+iQvvlj0nkb/TLSq+ed85p+w3hJZ8Qs38deW8RzIYFIj7VDdhNR6cuM6JGNoRuD5 y0CgDO/2CXrPA== 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 v10 33/36] selftests: ftrace: Remove obsolate maxactive syntax check Date: Tue, 7 May 2024 23:14:27 +0900 Message-Id: <171509126787.162236.9237333343981184360.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <171509088006.162236.7227326999861366050.stgit@devnote2> References: <171509088006.162236.7227326999861366050.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