From patchwork Mon Jun 17 01:49:21 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: 13699894 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 0F05F176ACB; Mon, 17 Jun 2024 01:49:28 +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=1718588969; cv=none; b=o/aKfOtowwQDK2RekJbtgO5Q+2y+d8IwqUOjXhdh2AgOuDMV20UIgtNLTBTGeVa08+eumHVwtBANGbRRq76SZdcH9kXu5hM0TS/kyf2UaF0ChQBp0/a+tCI/MGpc0kXfB14oHioBCn7hY0OPAPQpKNurXlpCgyRTLUPMzrYel98= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718588969; c=relaxed/simple; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=VJq0xhE/m3sPEm1+RLhy8nCrJHbyPGj98As/6o5xu3IKvQoRRdlAxay7k8N6rapfIXCidvipvSNW+sl5Y/rB6qHGrtH7aIE82pLD1rJQBFdEp13M7HaKene5vikKAlQj3lJTQACqXIE8Lk+cLPIiHZGbpzwzwzWjbDLv66KzMEM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jTQTMleJ; 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="jTQTMleJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 094A5C2BBFC; Mon, 17 Jun 2024 01:49:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718588968; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jTQTMleJgdHrF4CIZ6dfOjuVot/xgQybi1X2mSa60Bgw3hIDP9hL7Vi6qlWesRRqo Ei5ojmHZZbpMzErhqo0bqR+fb6PxwbZu9LIkrEkz9V1R/47sW+Nt3Wnuy76vR1EyVf AS2NJ80BsFIPlaJ2hTaazyHG3ZvEaUN7eN3myySlck9intvngNGPXsjxH0e6Zsxd/m X1u9M/UY7kG0u9Ubb/GPkdBkv1t3tNxSnPtYsrZi8anZqGC/vyF1O2VBZYtDkuqFRW I1UaCs3BjkG+g6uVX1OSl+EGt3z1uXo/JKuR+SdtSh/IBsVmtYxgkJiD0jzvdhcMRo CXb4/0G98b+Jw== 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 v11 15/18] selftests: ftrace: Remove obsolate maxactive syntax check Date: Mon, 17 Jun 2024 10:49:21 +0900 Message-Id: <171858896179.288820.12982870758086018964.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <171858878797.288820.237119113242007537.stgit@devnote2> References: <171858878797.288820.237119113242007537.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