From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD1E3C33C9E for ; Sat, 1 Feb 2020 08:52:46 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7BDBF2067C for ; Sat, 1 Feb 2020 08:52:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="uqp1nXp+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7BDBF2067C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id D1B006B05F6; Sat, 1 Feb 2020 03:52:45 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id CA5A36B05F7; Sat, 1 Feb 2020 03:52:45 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B6C866B05F8; Sat, 1 Feb 2020 03:52:45 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0041.hostedemail.com [216.40.44.41]) by kanga.kvack.org (Postfix) with ESMTP id 9D9B16B05F6 for ; Sat, 1 Feb 2020 03:52:45 -0500 (EST) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 42C77180AD80F for ; Sat, 1 Feb 2020 08:52:45 +0000 (UTC) X-FDA: 76440942690.26.color34_17f794e022f4b X-HE-Tag: color34_17f794e022f4b X-Filterd-Recvd-Size: 6078 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by imf22.hostedemail.com (Postfix) with ESMTP for ; Sat, 1 Feb 2020 08:52:44 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id s144so10471065wme.1 for ; Sat, 01 Feb 2020 00:52:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to; bh=hT5skZOoqWRhUjCWgtZzuttwtqGUoIahO4XcPPg+prc=; b=uqp1nXp+n9tdqX5SS1aOnwcnKko4AFGnDpzT6eiK98feiIuqWzntnolmtmBv8Y6UT3 maM4lZwunqN/uKs64q1S+O1BNy/vUVKDKA4QqwMys3q4sGjIWdeNg5hQmw+A+/ejHzWz ZEsFLr3jzl+ssQws3qjN/SWz1E9HmK7YC3cvCFT5iw0NIfR9ixePgXus0yWOtfpFtqbw LcUcLSURvlt+2i7Ald0PCOhrLGzcrraRRB9/a8eKS2bULkBGL3nUAgVGRWi1LLS34eDB ZDJqgPKxiQbMLecKouqLV2bZkRLI1vCgSdtXODWxP2rgzE9Xf33vgAD93aIEcMNQLYta Ar6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to; bh=hT5skZOoqWRhUjCWgtZzuttwtqGUoIahO4XcPPg+prc=; b=qI+bunSe5k/TZPRq/ZhK/pHeEn6wCjqRxvEvc6DIXimsV2yFBWIWqaaJh9iqK+k7fj peWOfIdORVsv5/S2cZXa2B/gFX8QLR1PCLsMLn+9aInZM3lUWojzFz6ntSjG+1pYLACf o3BetHOqRQgbh5RdtVPj0J9gzDuWryqh2KsUhwYrFVJJbhEPOJfiGAFGncr4AE0+1AaW ND/IellzisUvPePGfFlfaykIta2BbrdJ60gjPV4mK0j7Hrz6SF8qoUivbD4XxgSibvmE e6aHl8ZBEaFu0wCdbj6sOH4wkSMyQjafrAdRE0g4hf+UwchPoGrNcSX4QMoIWqqNl5Su Gw3Q== X-Gm-Message-State: APjAAAVJire0wZc19TaDHATiy2ZJRZZTBB1QZyTQ1EFHvHeeriqrgeZJ JkaBqfuFrszKNS7j1Rro35A= X-Google-Smtp-Source: APXvYqyEdp5zvKFhEc7Tx7bIrSUiB2nsiAZIU8kjNnxyC1HBl8ob35LAaitTvbxPLY03HEcdijhAjw== X-Received: by 2002:a1c:7d8b:: with SMTP id y133mr17709687wmc.165.1580547163232; Sat, 01 Feb 2020 00:52:43 -0800 (PST) Received: from localhost.localdomain ([2a02:2450:10d2:194d:bcd7:b36c:40fc:d163]) by smtp.gmail.com with ESMTPSA id a1sm15419304wrr.80.2020.02.01.00.52.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Feb 2020 00:52:42 -0800 (PST) From: SeongJae Park To: SeongJae Park Cc: Brendan Higgins , SeongJae Park , Andrew Morton , SeongJae Park , acme@kernel.org, amit@kernel.org, brendan.d.gregg@gmail.com, Jonathan Corbet , dwmw@amazon.com, mgorman@suse.de, Steven Rostedt , kirill@shutemov.name, colin.king@canonical.com, minchan@kernel.org, vdavydov.dev@gmail.com, vdavydov@parallels.com, linux-mm@kvack.org, "open list:DOCUMENTATION" , Linux Kernel Mailing List Subject: Re: Re: Re: [PATCH v2 6/9] mm/damon: Add minimal user-space tools Date: Sat, 1 Feb 2020 09:52:33 +0100 Message-Id: <20200201085233.28942-1-sj38.park@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200131044427.29930-1-sj38.park@gmail.com> (raw) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, 31 Jan 2020 05:44:27 +0100 SeongJae Park wrote: > On Thu, 30 Jan 2020 16:02:26 -0800 Brendan Higgins wrote: > > > On Tue, Jan 28, 2020 at 1:00 AM wrote: > > > > > > From: SeongJae Park > > > > > > This commit adds a shallow wrapper python script, ``/tools/damon/damo`` > > > that provides more convenient interface. Note that it is only aimed to > > > be used for minimal reference of the DAMON's raw interfaces and for > > > debugging of the DAMON itself. Based on the debugfs interface, you can > > > create another cool and more convenient user space tools. > > > > > > Signed-off-by: SeongJae Park > > > --- > > > MAINTAINERS | 1 + > > > tools/damon/.gitignore | 1 + > > > tools/damon/_dist.py | 35 ++++ > > > tools/damon/bin2txt.py | 64 +++++++ > > > tools/damon/damo | 37 ++++ > > > tools/damon/heats.py | 358 ++++++++++++++++++++++++++++++++++++++ > > > tools/damon/nr_regions.py | 88 ++++++++++ > > > tools/damon/record.py | 194 +++++++++++++++++++++ > > > tools/damon/report.py | 45 +++++ > > > tools/damon/wss.py | 94 ++++++++++ > > > 10 files changed, 917 insertions(+) > > > create mode 100644 tools/damon/.gitignore > > > create mode 100644 tools/damon/_dist.py > > > create mode 100644 tools/damon/bin2txt.py > > > create mode 100755 tools/damon/damo > > > create mode 100644 tools/damon/heats.py > > > create mode 100644 tools/damon/nr_regions.py > > > create mode 100644 tools/damon/record.py > > > create mode 100644 tools/damon/report.py > > > create mode 100644 tools/damon/wss.py > > > > > > diff --git a/MAINTAINERS b/MAINTAINERS > > > index 5a4db07cad33..95729c138d34 100644 > > > --- a/MAINTAINERS > > > +++ b/MAINTAINERS > > > @@ -4616,6 +4616,7 @@ M: SeongJae Park > > > L: linux-mm@kvack.org > > > S: Maintained > > > F: mm/damon.c > > > +F: tools/damon/* > > > > > > DAVICOM FAST ETHERNET (DMFE) NETWORK DRIVER > > > L: netdev@vger.kernel.org > > > > Another reason to put the MAINTAINERS update at the end; that way you > > don't have multiple edits sprinkled around your patchset. > > I made this change here due to the warning from 'checkpatch.pl' (WARNING: > added, moved or deleted file(s), does MAINTAINERS need updating?). But, as it > is just a warning, I think simply ignore it and and make this change at the end > of the patchset would not be a problem, anyway. What would you prefer? I think I was too worrying for just warnings. Will ignore the warnings and move the MAINTAINERS changes to last patch, as you suggested. Thanks, SeongJae Park > > > Thanks, > SeongJae Park >