From patchwork Wed Oct 16 01:00:28 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: 13837540 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 A83BB1494DD; Wed, 16 Oct 2024 01:00: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=1729040434; cv=none; b=b6GtOKvshlfzidQygXDREuAr5ZiO4DKsNueubZ2B2ZBqMOrpop9tDFP0V1fd8YHTsIhQfjXN7EJtr33VV2XI1oN2Okwsd7TbuKpxP/ghV2abn0zVYSqP1tSc8ApQGiqeB+Ap10a3H9AANMDuzJH1dLc6h9IFktre2o8wQya8csQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729040434; c=relaxed/simple; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=E8Jj/aP1OPKTSTR6pOT+iN+ZW3j/MUEgXqwcX+2Z/Waj5CvaUS8rBPuAUmooZxaj/5FwyiDNge0fJF1vI01+K7qb9OL4KYft6Xh0xggVBDKb6y8hHTeV8qQR1w0mXClBS3UgUPOROUW+LiRtOA4PBznzfcbPnHuG3Y4v+1XwIjo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=beAD2PKc; 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="beAD2PKc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54D13C4CED0; Wed, 16 Oct 2024 01:00:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1729040434; bh=wZEjksI48uEO6V4KtS7yN1QVU17ztXbJ6mD6JSkXebk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=beAD2PKcENWns9uIwkOndh/OtIFPZcqZXOhB5h+7pOKnI92oDAqmTaeV8mzEoH5ag IzWHBPKbXrcgeX9oalt2kIj8ebnkp0PHCG4INFVybrnKaziRIka7yZ8ck26LUMkBt3 tPxaLQi0OuwIS+UBX91WLcmfygTMauExpPkDpjQz7KSTVP/XUTx5KVfnYV5w1EAV6O kPkH3npfIpEp4PGKoPckDuduDiZ7yPpLklPar/6dajUufYqTXQdBxBnts2aKDaFog1 3IsKTXvuc2r38rB/Qg2RoR4auQdQSt0UtS0gvlBIOQbiMAQGhbPbgNOazDc6J4O3TL h3aNAYUsRfsRw== 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 v17 13/16] selftests: ftrace: Remove obsolate maxactive syntax check Date: Wed, 16 Oct 2024 10:00:28 +0900 Message-ID: <172904042858.36809.3858231452910525736.stgit@devnote2> X-Mailer: git-send-email 2.43.0 In-Reply-To: <172904026427.36809.516716204730117800.stgit@devnote2> References: <172904026427.36809.516716204730117800.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