Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp940098lqb; Fri, 24 May 2024 21:28:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXqdH5PTA0Qe1ICTveAyt/ce3wabplhBBoZyLjkD04gLVZR3SSjHC1D/F9IRtPdZwKAueD6CqLFJxegcsOlekZwLVsNf62LfBi0SVlPbg== X-Google-Smtp-Source: AGHT+IFxEoOiE4yndRS884w+8z0brqYIfE+whPRF+RjiecIz/AXSQEADxA6STigUhfqp2X1LV19s X-Received: by 2002:a50:9e46:0:b0:578:63e7:3bd with SMTP id 4fb4d7f45d1cf-57863e708d9mr1031362a12.12.1716611287155; Fri, 24 May 2024 21:28:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716611287; cv=pass; d=google.com; s=arc-20160816; b=J5UQTabWCA5Dc30x/g/t3twQkzZSjNSsz6fNLC8qrufu8U4PWdE3pKcq3AGUw+fMBn ytUl4FUjwiWM81D9iqmcLO7wXpBn1DYCk3bNHLSULqQXa713+DoLTmwII5/XQ98RMGIZ L6nGPmxQ6y/gFo+r0Ykc53Tfv/lAwuHC3RIsZJDuJEFMdj6kyG9d+Bb82VrEhp8D6473 LTwIdW6ehBWiY/2sV85tuIVzbQa+vpXdNN8hxLbYuHKmggPdrcPSvn3ox7zy7Vfi9ghp Ldgv0xHGaKdyot8szHblDo9cCU2alOtMcY4nlJ+kI6X79rkefq9Ou3GmtPyMHLGZKEk/ F2fQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:cc:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=XwaMV2J4Z9hcMB9vYnCZiHYrqk09Y1tk4M6goTECDIk=; fh=+qBDEodb04moa8nNwrlpPSpMqZWR+GGkWH8iWgXOsI4=; b=hDwIoRTMTbLRm49NINtttjYgCzqbXqB8jg8CGkX74a00+mQ+bT3sRXmzey5zWEE9F/ sNHSHfVaVT5bOPsyQo21XRob6lu9QQM5q67KE10RhFN7t+685b+PgZZWqwkz/a7XMzmo tHVsiwLctgAqzYcy0zRiC2MRlO7iGVmvG7loPrbO8zmHfDxcKgVhfvnFfEz1F0nVoBy3 BaZXO22uAi4QgnYL+k3Y5X4BEgL5k2grdbGuVWQPVv2OF2Gh1cfFLY5tjZOnTVQFA/hG HgpEwzuZH0+M5nnlpaJg984UxD3cL5sB7AeCH19qBtLJcvJu2i5Fl8hWfhYKv86pXCC9 iOkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=FL8udP8G; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-189275-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189275-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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-57852330f35si1532847a12.55.2024.05.24.21.28.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 21:28:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189275-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=@collabora.com header.s=mail header.b=FL8udP8G; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-189275-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189275-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 C08631F21AA3 for ; Sat, 25 May 2024 04:28:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D2908F72; Sat, 25 May 2024 04:28:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="FL8udP8G" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 C0ACBAD35; Sat, 25 May 2024 04:27:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716611279; cv=none; b=Yfv1kyXQJ+FHgYArRsUhrgd0B266GGnq8lG5HdoZ7jbpXgw0xVKrCtMnLNWfuYRkguEpuHttWduz9jEWaDf0VB/AX+qawhZBsTl875AiOpfoI6YQaeFs55GApBRJk4WFQORfDbZQNUS+h/A+d22ZqbZtwwY6RtHEoLhYgAnAAkY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716611279; c=relaxed/simple; bh=Sso5+EVsv+hPWxjM1D8Ovn3MztR5D8itoCgIaIV+AM8=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=iW5Uk4YzkbXV1reKzhQqtl0bRH8EpQbBa29EqoMFCEa7UOez0/FpR/W5eXuevkoSbtRbx1iiaRUuBPlVLbOTcmWxjlimLrmuSDz+TK01OQSnq0WWpTJZkY436/HsLLKlGsAgJQxW6YTLC+M1WYkdh++6URuvAMdR7ZhchlPrfx0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=FL8udP8G; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1716611275; bh=Sso5+EVsv+hPWxjM1D8Ovn3MztR5D8itoCgIaIV+AM8=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=FL8udP8GDOgXacy55MPksoLFcmYi/BY3Bc+fEWsgkju0xXi/hjPNQvQmV6tyzmooS tu6QYzigbNbCvVt3phjTJmcZMob6yu42Ae+O42lidvx7RanXoXEzhfp2RkLNrxJ40E OTnOf3/1tTfiguOrNWg8u+2Xap9zUerKsw6r1BMeV28ZgkjBjix9Cyezug2sa7cbV6 hinxAEoDNtUevIWezDPXNuPqveOi9D1h19A8dpi++hHT6/i6AoRIRvmBjcwL8278eX AIY+KpexdtFI3TgvImfoFd8DyI5ZuNzP9BakRgKJd8KAYXdWQ1pSJ6wfZJWGl6Yp3T IGUbovcNe/0Mw== Received: from [100.113.15.66] (ec2-34-240-57-77.eu-west-1.compute.amazonaws.com [34.240.57.77]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 20BE63782085; Sat, 25 May 2024 04:27:53 +0000 (UTC) Message-ID: <8057764f-064a-4d55-8224-a887f62ce539@collabora.com> Date: Fri, 24 May 2024 21:27:39 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: Muhammad Usama Anjum , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 1/2] selftests/ftrace: Fix to check required event file To: "Masami Hiramatsu (Google)" , Steven Rostedt , Shuah Khan References: <171624961322.252417.15852003285637286674.stgit@devnote2> <171624962273.252417.2474046620369030292.stgit@devnote2> Content-Language: en-US From: Muhammad Usama Anjum In-Reply-To: <171624962273.252417.2474046620369030292.stgit@devnote2> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 5/20/24 5:00 PM, Masami Hiramatsu (Google) wrote: > 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) LGTM Reviewed-by: Muhammad Usama Anjum > --- > .../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 > > > -- BR, Muhammad Usama Anjum