Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp220558ybl; Thu, 30 Jan 2020 20:45:49 -0800 (PST) X-Google-Smtp-Source: APXvYqyV5zB0qSijQZAVwX9oicm/MJwLiQ0ORLAxU867BAjeYqueKFERcpZ+51b3ylQZDr3uFoHc X-Received: by 2002:aca:de06:: with SMTP id v6mr5109458oig.168.1580445949607; Thu, 30 Jan 2020 20:45:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580445949; cv=none; d=google.com; s=arc-20160816; b=Uj9D+ZDen4m2SOojULAM+g0f7PVgufpSrm9I71Fw954ylcs+s2MwQqfXa1Uuq/Q5KD RKKgd0WxfbExQWnLJwf/af8eg9cKyvEd1tpKimMV0sKkcK6SXHlOu4u16EOXZ1MtQIK1 wuMUfaSvlsFvKzVJssJWZWv023ZwhI6e7usvF0D4QyVKEHFaLHh+4TiPtc+aX82mXcfh bFTfD2vwuj/DcDgm9REdeblTK2ggKvox6PlEW+VEBO1a+HbJxvkuGK/YVPhvOvDKIHRZ dQTRBEfuu9SB8RH83J/lUNRbn+e6ezu4Th2dptKArqOP7/xDPdM5GgFyWz+GiEeoavs+ 48Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=VULHDYUly2KzREKC7TNfPB9rI92l+6xsU3JPnd4HSgU=; b=EAhoZ1PPTI2X0Df/m/6GwwhrKLqN7iwP2FhRcETFb0cWZ0w2l2f/M1hOklljSRKycP zKC8HJEg+x7Wk1DYH2mhxygm9eLffBD9WJQ+ku8Qmmcjue5dx84PjGO66iz8I82ckUgm K13vv3vCni9FNltoziQhQC3b6YLppS13L1BUV3F9kjzbcndqKrK7dJ7OvOhYqDm3sH55 VWVkxHsBxPr4OrEaHbz6HYuwhL8ZDCCyZwhfjTPXf4lW0F1A/wqy3TAu6f9RdzNbETHF /ga+uhb81fDXVaBoWs6UPxVDnBQ+muQl1h6mpWFW+EtiS1mv4WRZqd5Xky3sbBLdoffM EwOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=K+MdPoPi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c196si3796545oib.36.2020.01.30.20.45.37; Thu, 30 Jan 2020 20:45:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=K+MdPoPi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728110AbgAaEok (ORCPT + 99 others); Thu, 30 Jan 2020 23:44:40 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33070 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728018AbgAaEok (ORCPT ); Thu, 30 Jan 2020 23:44:40 -0500 Received: by mail-wr1-f66.google.com with SMTP id b6so7085136wrq.0; Thu, 30 Jan 2020 20:44:38 -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=VULHDYUly2KzREKC7TNfPB9rI92l+6xsU3JPnd4HSgU=; b=K+MdPoPiES36gTA8+5iUoDTlzexY4IPCYNjL1NycmDpZlehQV94qURDB/wpg+9SICc NMueYDE0kI6I7H1a0nsu3rXKmrNm27AfpztwWq7AFdtzGoERM2eYWORFLxOG07dptmGs HyxKW3cWGFme+4v4GEN2J2GtzlXHudEgJB8tGjKGuVFjkKhVJsJ7tW/h3oy87z+9RU22 0+1Ne7lYUJbi6lAyVyEfOX6OfJcThAGA3X+YU5kNRR3SRDW2tUxHtmsixKo+kvNspHfi gdNq+FNIRUdd5Y4AAT541ybMNrvCLN8ukvY4FzluhlCrGkiSbA4rWdy2wTOfF6XU8/VJ 5+Ww== 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=VULHDYUly2KzREKC7TNfPB9rI92l+6xsU3JPnd4HSgU=; b=YHchFgJUzGZFe9DsPKGVAZY0eX8Zw8gio7980FoGiA29fnn8ck6ub9FZ9g4KkOYg9d ZaLALLGbPDfALsmjyBOVlI6sdCx3glZe/+iYMyldR43ECG8un1nl6uYvJfZRBeIfV7Va h5luXfSa4ZVcdseDNkQcv7KXZjklUp/b17ge+kSbPrxfYJdu0+O34PACOIk5TEN2S7pw psrLNDi2Q40xw5iOgy1olZrC8lH97Pr1LoBvm/9k4dwSo7e36MPCeK2jxHkRP32Wny8j X91IGjKkiyIU0DK5bwTsJuXmOtQRHxsrKVZWl3xahPsFu1e3VBGreotxjot68KKhXSHM YafA== X-Gm-Message-State: APjAAAWrlUtJTPVbz4Mo43lVkuM9HSc+Ihl1gX71ES92iXOAYjb+7btf MMKpzArTR6g+EbNk7d1Jf34= X-Received: by 2002:adf:fc08:: with SMTP id i8mr9364827wrr.82.1580445877702; Thu, 30 Jan 2020 20:44:37 -0800 (PST) Received: from localhost.localdomain ([2a02:2450:10d2:194d:9e5:a83e:83e7:3809]) by smtp.gmail.com with ESMTPSA id n28sm10379935wra.48.2020.01.30.20.44.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jan 2020 20:44:37 -0800 (PST) From: SeongJae Park To: Brendan Higgins Cc: SeongJae Park , Andrew Morton , SeongJae Park , 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: [PATCH v2 6/9] mm/damon: Add minimal user-space tools Date: Fri, 31 Jan 2020 05:44:27 +0100 Message-Id: <20200131044427.29930-1-sj38.park@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Thanks, SeongJae Park