Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp332538lqh; Fri, 31 May 2024 02:44:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUGgnpqY8Q64dE4lGS6BFg1rcwret9qY7nf8Ef1nHYwDgp4eLe+zNm7N9+rfe7tib02Pl4Cc5hFyk6Fu6ohXVsqIfWI3D8f/5W7ypkkgA== X-Google-Smtp-Source: AGHT+IFudduuSwl/IvvC0WgIyuRgNABLHe+0xVtgr1qvFv1+Se9hASPLNTE/A58gfZUdKueiqMmW X-Received: by 2002:a50:9f87:0:b0:572:315a:b2d3 with SMTP id 4fb4d7f45d1cf-57a363a308cmr966437a12.15.1717148648542; Fri, 31 May 2024 02:44:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717148648; cv=pass; d=google.com; s=arc-20160816; b=aSLMuAAHkaTBuxwDYekrZO+JRQKOdr8io5OcE5esyAnAPGPwjaSXyO5/Hm41q8+UE7 SGKUzNbyaOvp+kaBj1xupx/MMCQQE85HE3ilErXGA0GT75bWZYW+jOGzZGInInAHssGE kGJfK2rWSxqLIggt7DdjImgEWXjnNypftJDraaJ3aBGAnWkNDwQ+zQ5fu1AENzsR8UIH yG34QDynhi2vj6mcyvi9iKkB0HV11gqx2YNo1OeM9KsFAd87hOCZdI6lZLT0/mAotk4h Uo88/vAM5RywwNBu2BWTi80qzyXQ+7z7Op6rCR3wvHnSlV+sebOAGXSks2MBYQdqOZNW T+Tw== 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=zeCrBCVx3Kxwr0/XmEw4JHVHYn9fTSNcdzi/BH6xGi4=; fh=d2uWUuVlSG/Jut3a8o5WJsQvvcD6qfwUArp/NFKQOG4=; b=uODgEueHzWhFJXc9HyTgsDK4kmiVDo++W2G5t1EKYAZEp8zB5z9ObLY+GHjU2GZCFe mP0CEzctzyfUQ5dQhAbXtymGLhpDJP9IEubzpgDNAQFQY26t843lGqv3ZMpffXRFyN1v H9nsk1gW55IYdWW14dVe6EpdUM16gFtfyBeFFSW4KFqWXlhVDcBe+x+vcZNTvO3v4XUT vquaxa8JELnKCR6zJxDExgosELCyr6jFM6Qr21JU50Lp6y7Y8wPcJWf4ETdyKFAJh8BI O7bqjlcQ9bIdO0ZcyztFvQfzIWCPQuji5pGFe4O7pmu8n3Qy8ySMSV6uU81+IK8lBLfJ Ov+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p+4d0iY2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-196614-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196614-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31c76986si770708a12.402.2024.05.31.02.44.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 02:44:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196614-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p+4d0iY2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-196614-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196614-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 396B31F21947 for ; Fri, 31 May 2024 09:44:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D047136657; Fri, 31 May 2024 09:43:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="p+4d0iY2" 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 4EC7A133993; Fri, 31 May 2024 09:43:51 +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=1717148631; cv=none; b=shlGpXaWcLASdr66tpRDDa+xRJNBloRnYeMiu02s84ulB3BxtF+1uq4PmvexvxW/1+22dUyYXob8QwbtrHjoiQs1k/o1x20uCTmugHuE1wj3fns1gzkRMeNm55H1JaNntJ3MAOJgI2RqI4zjmOEkgSyLhZsUb52YNtG0Tw2QKA8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717148631; c=relaxed/simple; bh=Ji/BCrczZrXFzdJ9KBTdLjwgMFK+b2bHwQAPjUjuiF0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=gRhIAo39hmE7SZYOPadQcyTcB2V1zBxVbGoyZVbrJpo65mY6rgdRwPzaip7qtTqmbZPq9vTYUH6c6akSt7HlTfcYrZvvmHcCeCHpiSQ4MOYzKgFk4sO20B+/q5O9RB48Net3Cc8FIkCgfxntrgu7Wm8ACmDzkB2XwDpL9TX10S8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=p+4d0iY2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71019C116B1; Fri, 31 May 2024 09:43:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717148631; bh=Ji/BCrczZrXFzdJ9KBTdLjwgMFK+b2bHwQAPjUjuiF0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p+4d0iY2y4Jo1b9nwvfmTfqGVsA5/JeClcvI1M1tX1bS2C5KXjcqZwTp6Vq06c48S wrMTRPvJVID5Xt89uFTbo4ADWegnJRdcon9tPHknmaQNE/BES6SCutOjMCXKDC2G5G B4gq4P+QJNb8eVnZWYTFC1VeCtNSDJmkMwt4AWafOd4Us18f4idAX0eoifa14g8KGf BAdlrRdg/X+GmK0cCl/UrE5+yybqgWWUz5nwEx6xxJeqcifdJnD6paTxI/X5B9Chl2 OTtoPF0obQmt86/r/jObajHDXLbHNFwkc+EOdBm/Fs+u/YzYwiSFa8gPCFGQ3fpjyX ldqRx67ejfbSg== 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 2/2] selftests/tracing: Fix to check the required syscall event Date: Fri, 31 May 2024 18:43:47 +0900 Message-Id: <171714862700.198407.14000969067636098427.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <171714860864.198407.18416314586430149538.stgit@devnote2> References: <171714860864.198407.18416314586430149538.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) Since test_duplicates.tc depends on syscalls/sys_enter_openat event, it must add the event file to `requires`. Without this fix, the test fails if CONFIG_FTRACE_SYSCALLS=n. 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