Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2771318lqo; Mon, 20 May 2024 17:00:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU0LFyoCfc1imNipIupi3lNMCqNbuxz2IH8cOijGDYud5yLoICSVxwBm9ifVdCBoMZMmu4Z9sYETXnjahUeqPhSTv9CC8G2Tuc3Wy2iRw== X-Google-Smtp-Source: AGHT+IFex77SP+o9pU7HJYHbR+h4rl1o3gzb2Qu0NdwTGEhfpkM3efGMv/YdwPuOe6jnMnPSyaRB X-Received: by 2002:a50:c056:0:b0:572:9a52:6696 with SMTP id 4fb4d7f45d1cf-5734d5cebfbmr21276281a12.12.1716249638226; Mon, 20 May 2024 17:00:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716249638; cv=pass; d=google.com; s=arc-20160816; b=H9uBGJTk+vQ+sFXwWfa0JBYrGIUzGqtT5LktbqEOBAjPFg/IzBNJsTUOuslr+5qinJ cUAZ9Azr96PH1r1e/tLgD3vkd05xrTDndL7HJG6VkcmxUDctDyw729RgaeZjyoc/80Vj n2tgd0m6NSV/uyOwCSp4vdp7zhTu73Sca9jZrofG/OUtTfUwTFRx+gEidXQG8yWgio8G S/DRmAS1mHVvWiLCL4cxecMKAB+N0Uj9tObXf4pbwTLBtXAUPapob4UDEBBJRpw1cCdN LG/sqkL5vnEJo1tGqtJ5bN8JEeCO/tQ9DtosKJu4e66hGP6gkX7sqzbu9B6i5OLyGDND O0rA== ARC-Message-Signature: i=2; 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=mWstURCXoqmlIcsNez7V12cfQsvKtl76oBP5HSNRtxk=; fh=d2uWUuVlSG/Jut3a8o5WJsQvvcD6qfwUArp/NFKQOG4=; b=d5dK+jPHUIv4547I4C5SIscJeJ3r/flFfxpPdoE7epbGZHIOlJIZkY3AeMkb0Zoqoz De1zN6z8bWZ9SG3zx8uEIu1/KgnOJ9689m6BfUVNJEp28B8KMzyri8BLnqhhkpJ+TJJJ b379SnKSGJuGYU4SSM1VbSBxsGCOLy/4R0W+2w65/D1So9L7ThWlp+g4OrFAMd45+mjb BfYDLWhr1NyNwryYykwvHY96gXgnL283a9oPrt85ZNeIBYSUOAvs7Y41TtjxLhAUeeeL an7k+4zNSTFh+Wej9Bs0XJEXZ0cTp5s/hpmJNGhaMR7DidsOSXtO1aUWvQMpqJTMz+Oc CJNQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o1ckmqNP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-184314-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184314-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c362b97si13783830a12.516.2024.05.20.17.00.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 17:00:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184314-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o1ckmqNP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-184314-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184314-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id BB3F81F21641 for ; Tue, 21 May 2024 00:00:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20376535AF; Tue, 21 May 2024 00:00:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o1ckmqNP" 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 3C81A47A5C; Tue, 21 May 2024 00:00:26 +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=1716249627; cv=none; b=t/c0Qa1LLQ3C7WZelLSzE0Pj/KnhYgDRRWSVJsnr/PmLfM5T4ZZBfzjwN5QZ2yrVi3oZ5OJiNY/1aUqaxZikaxPqtRXEE6OdvTjtjbwDsYFy46V+z0Fb++zQ7NNO+qnZ85/njCMxPBmvX0f81QUI59oakbYUS/rCP0JPW2U3DbM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716249627; c=relaxed/simple; bh=jj4W3Jmky7jkPSrRSpX/SZosaWUJN4HwRGmt9HwlUMQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=m9aajg5EIhHkowIOGe/TLoaOMyhQ37xtGoQN5uTUCE3EUno3Prv11/ZOtJXMM+GDBNm/HxgcVEKEyLYLNYLqiqTkWXYujHh5C20hu7zFfTJ5eL5Z8YzArnbYiiI/CKmCanxxpK9WKY6qbdxtWCAjuCdCbsTYlH5pbED90l4XW3s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o1ckmqNP; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A330C2BD10; Tue, 21 May 2024 00:00:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716249626; bh=jj4W3Jmky7jkPSrRSpX/SZosaWUJN4HwRGmt9HwlUMQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o1ckmqNPaFfzKwJC7Hfs5lWAvpS2godiHKcBZZhAjHJMsWCz9POMEzVkBzE8ZFBmt x2w6KCfb0wDHmctkvs6Bp+FnME18lEmOcjNLHTN2GT2V/KAFypmzc8ATvi3BVtxNVs hpVK5EMW+kOxhIWSM7SXAnJe4ti+BhIbTj06aE+7k/PKlE0EJXps8JpCmKnXDVAynV mXEY43WrWNcFJLwNzfC74ZYGfxzaNRstljQJ2hpAW+tD/eTz6MK5gSkuBnqbML/m+Y dVwtFkKQ+ASHJE9ROht4SKaygdTI1CmsVTBZ576BAc6Dvj21jo1Vmr9m2wnLEc1jCY o9qd2VFmbkeJw== From: "Masami Hiramatsu (Google)" To: Steven Rostedt , Shuah Khan Cc: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, mhiramat@kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH 1/2] selftests/ftrace: Fix to check required event file Date: Tue, 21 May 2024 09:00:22 +0900 Message-Id: <171624962273.252417.2474046620369030292.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <171624961322.252417.15852003285637286674.stgit@devnote2> References: <171624961322.252417.15852003285637286674.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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit From: Masami Hiramatsu (Google) The dynevent/test_duplicates.tc test case uses `syscalls/sys_enter_openat` event for defining eprobe on it. Since this `syscalls` events depend on CONFIG_FTRACE_SYSCALLS=y, if it is not set, the test will fail. Add the event file to `required` line so that the test will return `unsupported` result. Fixes: 297e1dcdca3d ("selftests/ftrace: Add selftest for testing duplicate eprobes and kprobes") Signed-off-by: Masami Hiramatsu (Google) --- .../ftrace/test.d/dynevent/test_duplicates.tc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/ftrace/test.d/dynevent/test_duplicates.tc b/tools/testing/selftests/ftrace/test.d/dynevent/test_duplicates.tc index d3a79da215c8..5f72abe6fa79 100644 --- a/tools/testing/selftests/ftrace/test.d/dynevent/test_duplicates.tc +++ b/tools/testing/selftests/ftrace/test.d/dynevent/test_duplicates.tc @@ -1,7 +1,7 @@ #!/bin/sh # SPDX-License-Identifier: GPL-2.0 # description: Generic dynamic event - check if duplicate events are caught -# requires: dynamic_events "e[:[/][]] . []":README +# requires: dynamic_events "e[:[/][]] . []":README events/syscalls/sys_enter_openat echo 0 > events/enable