From patchwork Tue Feb 21 07:08:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 655860 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15506C61DA3 for ; Tue, 21 Feb 2023 07:08:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233452AbjBUHIr (ORCPT ); Tue, 21 Feb 2023 02:08:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231331AbjBUHIq (ORCPT ); Tue, 21 Feb 2023 02:08:46 -0500 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CB74A279 for ; Mon, 20 Feb 2023 23:08:42 -0800 (PST) Received: by mail-lj1-x231.google.com with SMTP id b18so3367103ljr.4 for ; Mon, 20 Feb 2023 23:08:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7e5rBUciBt3LW8lbyzEtnyxGuZZCI/WaI2X5+BKKS4A=; b=l8l7bRMadcg9l2ArSXzLPwzQ0O4OM4j/Fv+fr4aTyU0d5+ctRQolIhg9PWy9BbSWjk Po8GIZv7b2F7dkbfPNWiAK8kjsn8sGMvCXZ4KcImsld3IUovoVQGeUFC7FTcR7trw0kf MwNZLr1tXMCYRO6u+zuuHNosS5TQHAv9dBcwRLctAkH5HzeUyc2s7yR58K0bGxFAg7J3 Vuj+c7qxUUeWWDEAR+6KvqdBRwTz+8CYNpa3Pnfukc3e9q1tm7IJkMs0uUapPBxQ7tt9 uttSgk8tswFKDYi0fw4t2u7U2Fyip7v0ifT+Qe97afB0oetBc0NXfFdKmGDk2ooI77Cz b6hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7e5rBUciBt3LW8lbyzEtnyxGuZZCI/WaI2X5+BKKS4A=; b=edEH2ubj/76f0eIYd8AF++05Zt+kg5z10s4Sh3kDkCXRLjpTiMgYfKooT+XinrT9ca szBfzXP8gG2IWx7E5OVfwcYwTKZFLxlqEtCA9Rf9hUB357NG9kYKJg+8Znoibtcu/+AQ f4gwVKPPQdAEKwNF6kBLsr3U2uUb7AblYRKoxB63Tyjx2vsVk8vR6ga+u/s1mpqIp6Wa GBNwCLy8NW/nkZdgTy4MU2CImSL0upRBakNKr+KC/N3QNERls29ETLGhycMk4+CjzS4+ 6rNKSWbXde7SVc99fNe097lBXhQvX1gWuCc8C4tzuQcVZa7ta6ZbzuB8O7ms5OoriSjx 1f7Q== X-Gm-Message-State: AO0yUKWWWJrQiFP51Jm+RwkS779qR6rkfDwoYspACAAuNkxpJDrRt3hR iZ92hMRBI52/5JM+IBd6j8gcTg== X-Google-Smtp-Source: AK7set9H9GSv++N7XsxvuS8OmaXXG8SjL8OwuyLnyiWcLajWwzqiPonDZ2+GwrJtlQn/aspD3kAMhg== X-Received: by 2002:a2e:595:0:b0:294:6cde:b9f3 with SMTP id 143-20020a2e0595000000b002946cdeb9f3mr1868769ljf.37.1676963320543; Mon, 20 Feb 2023 23:08:40 -0800 (PST) Received: from localhost (c-9b0ee555.07-21-73746f28.bbcust.telenor.se. [85.229.14.155]) by smtp.gmail.com with ESMTPSA id f17-20020a05651c03d100b002946f95b359sm715299ljp.105.2023.02.20.23.08.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 23:08:39 -0800 (PST) From: Anders Roxell To: sj@kernel.org, shuah@kernel.org Cc: linux-kernel@vger.kernel.org, damon@lists.linux.dev, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, Anders Roxell , Naresh Kamboju Subject: [PATCH 1/2] selftests: damon: add config file Date: Tue, 21 Feb 2023 08:08:36 +0100 Message-Id: <20230221070837.1502935-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Building and running the subsuite 'damon' of kselftest, shows the following issues: selftests: damon: debugfs_attrs.sh /sys/kernel/debug/damon not found By creating a config file enabling DAMON fragments in the selftests/damon/ directory the tests pass. Reported-by: Naresh Kamboju Signed-off-by: Anders Roxell --- tools/testing/selftests/damon/config | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tools/testing/selftests/damon/config diff --git a/tools/testing/selftests/damon/config b/tools/testing/selftests/damon/config new file mode 100644 index 000000000000..a6b636e438b9 --- /dev/null +++ b/tools/testing/selftests/damon/config @@ -0,0 +1,8 @@ +CONFIG_DEBUG_SYSFS=y +CONFIG_DAMON=y +CONFIG_DAMON_SYSFS=y +CONFIG_DAMON_DBGFS=y +CONFIG_DAMON_PADDR=y +CONFIG_DAMON_VADDR=y +CONFIG_DAMON_RECLAIM=y +CONFIG_DAMON_LRU_SORT=y From patchwork Tue Feb 21 07:08:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 655605 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B17B9C64ED9 for ; Tue, 21 Feb 2023 07:08:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231331AbjBUHIr (ORCPT ); Tue, 21 Feb 2023 02:08:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231546AbjBUHIr (ORCPT ); Tue, 21 Feb 2023 02:08:47 -0500 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DA62A27B for ; Mon, 20 Feb 2023 23:08:45 -0800 (PST) Received: by mail-lj1-x22a.google.com with SMTP id e9so3256355ljn.9 for ; Mon, 20 Feb 2023 23:08:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sW5OTipyHanuMGGEr19+SfAUNI4fh6TQoQ0SKxiVbds=; b=xPFad2O3o2T7JjjqimSZr5bDzhsCKNA/ZkT84IvIGWjisfYMVY8ez3JcB+xGEpxfzH gzirFObAQN+Ea1riiRgJJHdkV60VszkVhQ5ytQBgoncx5bHNah9foz2MkmgJvH9rJoiN d6tn2jmty0h7uLUWzB07Njf46FAaTlNyEzn9BLtanEX3CXGHtAMFNsW1ruwFyhQ+KwDd ygE+DhlYQOCkxiy7y5GaQpMsQYTHikXVAIBNl0xtMndF5GNCHqKtF9YGZzi0KBl+t0lG bHzSDsMIdnKH9n22w8OfOrLDZgR4nTLts+MKO+3nKWe575Ub2BfB5D+IwyVIcN864IWy i/iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sW5OTipyHanuMGGEr19+SfAUNI4fh6TQoQ0SKxiVbds=; b=e2+51p+A6Nsy0jPvo3CySk0WyA14Wmt49rug2IOD0BA3JY/0PdE/G9K9augqrC88Yf NGx5klty8MtfreVNBwGVqMrKhYE3fA9u7LtRwjAiQ0pGCz5v0PP8BEt3lwIH7OKEXTFd lcVetysQpomuQc0czh+JeAfCxHb6wzUNbsNx526gAZW63EsVuDj6Ajc8ifN6tGvMypai /aWRSB3P8JXHisWErKKjAL1XF7pk/8G185aFdIOoTfVdqGMEKCrjuL9tGPmn9mHt/ENE 3UClus2jWkaiPUvG+up5LREWqzoYdr8E38jn8+bbUOBmYqczLnnZFG6BT6GUHjhi7iui GkJQ== X-Gm-Message-State: AO0yUKX4Yk27lFV1LaZXuG3qLpbjCJrLy3F5X65r7MNeVQEGOh11Iewq w/EhXryVnbtPRhnG+QTfgtY/dQ== X-Google-Smtp-Source: AK7set9MVl9dE0Gqmud9UHGJXFGDa+7JeOO8MZD8yAHqxQi9OKB89/YMGpoENiqGS13QSoc5sBuOfQ== X-Received: by 2002:a05:651c:1214:b0:293:5359:79e5 with SMTP id i20-20020a05651c121400b00293535979e5mr1539070lja.45.1676963323899; Mon, 20 Feb 2023 23:08:43 -0800 (PST) Received: from localhost (c-9b0ee555.07-21-73746f28.bbcust.telenor.se. [85.229.14.155]) by smtp.gmail.com with ESMTPSA id v17-20020a2e9611000000b002934ed148afsm1809964ljh.52.2023.02.20.23.08.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 23:08:43 -0800 (PST) From: Anders Roxell To: sj@kernel.org, shuah@kernel.org Cc: linux-kernel@vger.kernel.org, damon@lists.linux.dev, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, Anders Roxell Subject: [PATCH 2/2] selftests: damon: change scripts to be executable Date: Tue, 21 Feb 2023 08:08:37 +0100 Message-Id: <20230221070837.1502935-2-anders.roxell@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230221070837.1502935-1-anders.roxell@linaro.org> References: <20230221070837.1502935-1-anders.roxell@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org When running kselftest-damon The following issues shows up: '# Warning: file debugfs_attrs.sh is not executable' Changing the scripts so they are executable. Signed-off-by: Anders Roxell --- tools/testing/selftests/damon/_chk_dependency.sh | 0 tools/testing/selftests/damon/_debugfs_common.sh | 0 tools/testing/selftests/damon/debugfs_attrs.sh | 0 .../testing/selftests/damon/debugfs_duplicate_context_creation.sh | 0 tools/testing/selftests/damon/debugfs_empty_targets.sh | 0 tools/testing/selftests/damon/debugfs_huge_count_read_write.sh | 0 tools/testing/selftests/damon/debugfs_rm_non_contexts.sh | 0 tools/testing/selftests/damon/debugfs_schemes.sh | 0 tools/testing/selftests/damon/debugfs_target_ids.sh | 0 tools/testing/selftests/damon/lru_sort.sh | 0 tools/testing/selftests/damon/reclaim.sh | 0 tools/testing/selftests/damon/sysfs.sh | 0 tools/testing/selftests/damon/sysfs_update_removed_scheme_dir.sh | 0 13 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 tools/testing/selftests/damon/_chk_dependency.sh mode change 100644 => 100755 tools/testing/selftests/damon/_debugfs_common.sh mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_attrs.sh mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_duplicate_context_creation.sh mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_empty_targets.sh mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_huge_count_read_write.sh mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_rm_non_contexts.sh mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_schemes.sh mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_target_ids.sh mode change 100644 => 100755 tools/testing/selftests/damon/lru_sort.sh mode change 100644 => 100755 tools/testing/selftests/damon/reclaim.sh mode change 100644 => 100755 tools/testing/selftests/damon/sysfs.sh mode change 100644 => 100755 tools/testing/selftests/damon/sysfs_update_removed_scheme_dir.sh diff --git a/tools/testing/selftests/damon/_chk_dependency.sh b/tools/testing/selftests/damon/_chk_dependency.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/_debugfs_common.sh b/tools/testing/selftests/damon/_debugfs_common.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/debugfs_attrs.sh b/tools/testing/selftests/damon/debugfs_attrs.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/debugfs_duplicate_context_creation.sh b/tools/testing/selftests/damon/debugfs_duplicate_context_creation.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/debugfs_empty_targets.sh b/tools/testing/selftests/damon/debugfs_empty_targets.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/debugfs_huge_count_read_write.sh b/tools/testing/selftests/damon/debugfs_huge_count_read_write.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/debugfs_rm_non_contexts.sh b/tools/testing/selftests/damon/debugfs_rm_non_contexts.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/debugfs_schemes.sh b/tools/testing/selftests/damon/debugfs_schemes.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/debugfs_target_ids.sh b/tools/testing/selftests/damon/debugfs_target_ids.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/lru_sort.sh b/tools/testing/selftests/damon/lru_sort.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/reclaim.sh b/tools/testing/selftests/damon/reclaim.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/sysfs.sh b/tools/testing/selftests/damon/sysfs.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/sysfs_update_removed_scheme_dir.sh b/tools/testing/selftests/damon/sysfs_update_removed_scheme_dir.sh old mode 100644 new mode 100755