From patchwork Fri Jan 12 10:17:29 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: 187692 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp79389dyc; Fri, 12 Jan 2024 02:22:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGAGYRo1qn7GLVoMzwp/hy1boCouly5jWzwpuPwziLZg7/1MdNz6357rpCxUkLgKuSMM7c+ X-Received: by 2002:a05:620a:b16:b0:783:597:9991 with SMTP id t22-20020a05620a0b1600b0078305979991mr1278681qkg.71.1705054946826; Fri, 12 Jan 2024 02:22:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705054946; cv=none; d=google.com; s=arc-20160816; b=otRsY5YqXNbXWraETyz9E8aobTpe/Ozgt2+3OtSZzW/1EYXNnH9gKp3CGFnOf1HJ28 S50vWkEYWv9MNtIw4JptYRv8rrvDcRvsVtd4hTeBgNquQ3lYqbhkkNOjV3W4UMZRJI6K A7eeJiVWBKWHrAcPPeIjkZdqvSlKpakrW3xXxu63fUL0RzvuZrEfvroBHbB8kOtq064C Ff02eQybA4gBdXmLiURI9fR+yTs7te7nM6z+bX2liIw+CqwIgIX3mTunCZIlt1pC6z10 nA1LQa0NFskknGy4SLTjB1uor0gcrXj8Pmz6ZhRPULzzcAmvZ9wqKMxS393AcbAsMkco /6Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:user-agent:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=NRt0pRDVMb2HoTOOgHKbTFmgFt039oUBjnBj47jnGM0=; fh=SIgps5XdV0XNwjZfT2uAI7g3mrspDldK9Qs8qQAfoa4=; b=VlgRJDMgpDChykBCgOs1+R21SPPtqb92AhlxhpDYqYES7U71tfTqz3dhJvhuPNvfC0 IadSuRP+tCZGpvOJXqlEQkZCx4mUby3AEk9RRPis4GZhRQ24sihg77di2M1lLfAai/1p yKtXxUCf03yLuHcjZOCc19pR7TU1cjg1pYD2e/p4esYnAoalQZza+RP8+pynHYqxWNcb UIjxysF7/QYG+Sy8OkxoQg12NV9f8Lru02rvevYENhFyYgk8ZftEOY6sG8MEhAc/dezM Bmf4uW7rFa3nEJCnZwovDg9GKB7fSPZ1ZgG6DgNutabKfjkvkMJ2xuknkz2C/idNdHrK LslQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oHntNWEp; spf=pass (google.com: domain of linux-kernel+bounces-24583-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24583-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y9-20020a05620a09c900b0078314baf856si2529804qky.576.2024.01.12.02.22.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 02:22:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24583-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oHntNWEp; spf=pass (google.com: domain of linux-kernel+bounces-24583-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24583-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 9B5501C239A7 for ; Fri, 12 Jan 2024 10:22:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CA8467E69; Fri, 12 Jan 2024 10:17:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oHntNWEp" 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 0B2895DF13; Fri, 12 Jan 2024 10:17:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D954FC433C7; Fri, 12 Jan 2024 10:17:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705054655; bh=AhqKrJz5NqAxQZJTxzvS35/o9mTQRDXLSjKOCvX5P6o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oHntNWEpuogcwl9tr0Ka8NLsEt/vpMYgc61WMKrpbo49S/UMwYcu+xn8so+T9qLnH a+RMcD7xvauld+JOEc/SE7H8UYO6ffhY2WlBB/IVqJBYwWBPAlXHDmzqOwJ6+cRC0P asxQZ8bfMWEzRMHgDC7RTPYAZhgNzCNkgEGUld9B4o4V3u1jroOUsya6LW5JNHo51R U2VnyvQDj7GkX6r+CullAOymbCpfs1++/RyF9dguLU8x8rutC5ctjeqCxX114OIHQa EkzQWrfUTAc7rrxtFTymhNo0QSZrH1x4uPo02TJXWj9CGnw7Q/sKkyk8eGx2qz+6yQ IM+fKHpzD6iPQ== 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 v6 34/36] selftests: ftrace: Remove obsolate maxactive syntax check Date: Fri, 12 Jan 2024 19:17:29 +0900 Message-Id: <170505464937.459169.10120853928494235861.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <170505424954.459169.10630626365737237288.stgit@devnote2> References: <170505424954.459169.10630626365737237288.stgit@devnote2> User-Agent: StGit/0.19 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787879695789530402 X-GMAIL-MSGID: 1787879695789530402 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 20e42c030095..66516073ff27 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