From patchwork Wed Nov 27 12:08:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maximilian Heyne X-Patchwork-Id: 13886950 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A37CD6ACC3 for ; Wed, 27 Nov 2024 12:09:19 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 99FDC6B0082; Wed, 27 Nov 2024 07:09:18 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 94FB36B0083; Wed, 27 Nov 2024 07:09:18 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 83E5A6B0085; Wed, 27 Nov 2024 07:09:18 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 64A306B0082 for ; Wed, 27 Nov 2024 07:09:18 -0500 (EST) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id E1B601409F7 for ; Wed, 27 Nov 2024 12:09:17 +0000 (UTC) X-FDA: 82831754502.13.9CC0202 Received: from smtp-fw-52002.amazon.com (smtp-fw-52002.amazon.com [52.119.213.150]) by imf14.hostedemail.com (Postfix) with ESMTP id AF747100012 for ; Wed, 27 Nov 2024 12:09:09 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=amazon.de header.s=amazon201209 header.b=mNUZMkBd; spf=pass (imf14.hostedemail.com: domain of "prvs=054428b80=mheyne@amazon.de" designates 52.119.213.150 as permitted sender) smtp.mailfrom="prvs=054428b80=mheyne@amazon.de"; dmarc=pass (policy=quarantine) header.from=amazon.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1732709352; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=7U+yTr2d7RwRRaM5HvKRT7wsyxGZ2Fy6IJZvrr/C3zo=; b=T/XBvtT4JiOoPdgx64wOvv2mank3ip75QIUkmRSG9X+l5x36YiBZBrH2jfCetQ43Jjjl67 GqdWjIQWt+NEw3acbm6j33lagq/cI5oUvdYOQwGvl8jvENrBBsJ4uB5qIIY6ofa9m4OLwP eDuaK/wYikoYm4hnlwj6LiZbxUB2ssY= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1732709352; a=rsa-sha256; cv=none; b=jIQNYq7fcS2Sm5sSW5cAthrUNN0+o7/SrK7rIgVFI/CPbV4VqCcJYjK2SPYcWoAKm3mFWb yOYDZ+bU5EDbE6ZYO6qHnRN8kSQhPFhs6A067gwk9G5087Ci63PHnFgtrpQ9ZZ2AOLe14W VSC6xmVyQLwDGh3txKo5AkBhRltdi/Y= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=amazon.de header.s=amazon201209 header.b=mNUZMkBd; spf=pass (imf14.hostedemail.com: domain of "prvs=054428b80=mheyne@amazon.de" designates 52.119.213.150 as permitted sender) smtp.mailfrom="prvs=054428b80=mheyne@amazon.de"; dmarc=pass (policy=quarantine) header.from=amazon.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1732709356; x=1764245356; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7U+yTr2d7RwRRaM5HvKRT7wsyxGZ2Fy6IJZvrr/C3zo=; b=mNUZMkBd3BreptclaiHDKkjew+dK7d6a7uSHsbkHjHsdgIZ6uJ+xTSgG 1bBX0Gh5eOhWF/CiSj/kQaxlg8nFsepYyYk7czeckBgpDJ2tZJitqIvp8 +SvXEQelrZZlsQ1YPTwD2o5WM5j1Ng3o2OpUmRhUrid/cekIz1uy+ZML/ o=; X-IronPort-AV: E=Sophos;i="6.12,189,1728950400"; d="scan'208";a="677134088" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev) ([10.124.125.6]) by smtp-border-fw-52002.iad7.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Nov 2024 12:09:12 +0000 Received: from EX19MTAEUB002.ant.amazon.com [10.0.10.100:28394] by smtpin.naws.eu-west-1.prod.farcaster.email.amazon.dev [10.0.34.163:2525] with esmtp (Farcaster) id 8af6d9b3-8276-40da-89f5-2af5a6b7ed7d; Wed, 27 Nov 2024 12:09:11 +0000 (UTC) X-Farcaster-Flow-ID: 8af6d9b3-8276-40da-89f5-2af5a6b7ed7d Received: from EX19D008EUA003.ant.amazon.com (10.252.50.155) by EX19MTAEUB002.ant.amazon.com (10.252.51.79) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1258.34; Wed, 27 Nov 2024 12:09:11 +0000 Received: from EX19MTAUWA001.ant.amazon.com (10.250.64.204) by EX19D008EUA003.ant.amazon.com (10.252.50.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1258.35; Wed, 27 Nov 2024 12:09:10 +0000 Received: from email-imr-corp-prod-pdx-1box-2b-ecca39fb.us-west-2.amazon.com (10.25.36.214) by mail-relay.amazon.com (10.250.64.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1258.34 via Frontend Transport; Wed, 27 Nov 2024 12:09:10 +0000 Received: from dev-dsk-mheyne-1b-55676e6a.eu-west-1.amazon.com (dev-dsk-mheyne-1b-55676e6a.eu-west-1.amazon.com [10.253.68.42]) by email-imr-corp-prod-pdx-1box-2b-ecca39fb.us-west-2.amazon.com (Postfix) with ESMTP id 79DD880411; Wed, 27 Nov 2024 12:09:10 +0000 (UTC) Received: by dev-dsk-mheyne-1b-55676e6a.eu-west-1.amazon.com (Postfix, from userid 5466572) id 0E730B899; Wed, 27 Nov 2024 12:09:10 +0000 (UTC) From: Maximilian Heyne To: CC: Maximilian Heyne , SeongJae Park , "Shuah Khan" , Andrew Morton , , , , Subject: [PATCH] selftests/damon: Add _damon_sysfs.py to TEST_FILES Date: Wed, 27 Nov 2024 12:08:53 +0000 Message-ID: <20241127-picks-visitor-7416685b-mheyne@amazon.de> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: AF747100012 X-Stat-Signature: 4hanb9pb71t7bpd1zzpi3mcjx31zze38 X-Rspam-User: X-HE-Tag: 1732709349-822252 X-HE-Meta: U2FsdGVkX1+KrL7qwrWDyV3hFzLBiWAIMP2EeuaR3+XgpisKtluAItQLcKMleF1MbNyshrIE+ECYtK4xRwP7uaoEcKEnk8wAj5nddjT5NyZbYuv7EmMprEstDlvCN8t3OhluSHwDiktJg0H7hc6HiDovWTH1i9J5JuRurTg/Iw8s9/9KX/XdJTckchP2uRrreOqrMdbBoUaksZ1AzRWdajpgnEPJlo/pRvUvXbcQcSJ9elPpIF+k8FsBJW0qOTwDWpQpeWb9QYY1jSEe3IeXy3CJpX3jsYC6WCNWgeAf0QkEApXbqbcbLLkDUhd0UN2uZ/5ks/YjsJ3ZZdvZSdBsEEhKuI4SWAY3daQjzPiV08u0F06EM2kvjtla297yYBwb+JNSUn+PJz1wGreaLjiBUywwS8lDuwFs/sLGnS8epCNhSNdTf45usVrlC0ARL0eCliI+VvV1212rpS0HGJIoAUhlGGsWWGonc1wUndw1/Tg/TDfkWxJjxKuD/SlH6aEOJBUQv+IfY3yeOPJZSMJ6EJQsESeRX3xJvNjRcLZUGy0WXG5VXfefZy+DGSU9h+KUKlTVp2ePf4BFXLU+DcOdaOvMSy6oiwC6JCYGUnBBWfpxyjs0yQY+DtVF82xwYgjeRhEKhtWQrHoW9n/tN8Q7rRGwWUyR+fXaQoQVxFTOcMSpq3wJHiA0uEItfCnNuli1pkqLsYeDYY2xMN3pWdfXhPQWnurAcuxcDVdIlD51R9O/egvXrVq1LRQo5I+bHt6Mux2n+bUmuj4TKgyVWmQR94BU/1Yf2ivGRIJ8w7VkxDMOQWtqEz6754+BS0ZL4D4lOHDzxnoT5l1sdX4oVU9V3yUPp/y4hec9HBbsRT7gtsIjiqeWqOzBVIvhrc5oYZzo2/W8c3g+v124fsQPGwUCMNnV9nYsyiqFPeDefqi1ZXsaUtXG3mBr2mL/X30l9Rn07YEA2Wx8mq4AK+4SmmK ekbSlKGr PiODFfM5LYNJFqDN2rXq4j4vtD/cx/ziRTYb5cOSpSqUVTt3VTZnWmhij4PgSzkQbO4Y46GKqtroXLCP9VyWYoaQUq+ZU+C7JF2iufDiBZ5Z/4/E37TS8IDRjtzcjNS3TkFEfqClT/yWtP3QJ9atcEKGnJOiz/rDJfIGF+NfKaM5n4xt44qOswDKt2ySDk0aerUC6VURQtOF3Qh1EsZGTZYzGvuyAeBKo6w/t5PHWQ5pe5mxFmmLSWZ/S7ZrCcLq9ATuw51Vf/3jWoecSt3Yq3CUnQ2rkhM00ar3ML9Aqsv6kTsoRr4WIhLT+QEcQwNRF74yKh4WZVQTPL99QFEeTuvbzQzqnyMWEMEG9sOczehcXX08qqCs9onhS6x9Kn0Mx9dhprrNTh9WGzYLENASzfkCpKPi6bLzqQWMupzELv+AjeX7TCAFgYSjwcu63YIR6pTMR X-Bogosity: Ham, tests=bogofilter, spamicity=0.290827, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: When running selftests I encountered the following error message with some damon tests: # Traceback (most recent call last): # File "[...]/damon/./damos_quota.py", line 7, in # import _damon_sysfs # ModuleNotFoundError: No module named '_damon_sysfs' Fix this by adding the _damon_sysfs.py file to TEST_FILES so that it will be available when running the respective damon selftests. Fixes: 306abb63a8ca ("selftests/damon: implement a python module for test-purpose DAMON sysfs controls") Signed-off-by: Maximilian Heyne Reviewed-by: SeongJae Park --- tools/testing/selftests/damon/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/damon/Makefile b/tools/testing/selftests/damon/Makefile index 5b2a6a5dd1af7..812f656260fba 100644 --- a/tools/testing/selftests/damon/Makefile +++ b/tools/testing/selftests/damon/Makefile @@ -6,7 +6,7 @@ TEST_GEN_FILES += debugfs_target_ids_read_before_terminate_race TEST_GEN_FILES += debugfs_target_ids_pid_leak TEST_GEN_FILES += access_memory access_memory_even -TEST_FILES = _chk_dependency.sh _debugfs_common.sh +TEST_FILES = _chk_dependency.sh _debugfs_common.sh _damon_sysfs.py # functionality tests TEST_PROGS = debugfs_attrs.sh debugfs_schemes.sh debugfs_target_ids.sh