Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp556100ybm; Wed, 22 May 2019 07:47:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwwfGE7sFbENh0D6/qPpR9dadaobMGL4i7AJgUqahR1mV0om+Fw8H8RLD2DxI6k7FQuP8Or X-Received: by 2002:a63:1344:: with SMTP id 4mr89327070pgt.448.1558536469714; Wed, 22 May 2019 07:47:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558536469; cv=none; d=google.com; s=arc-20160816; b=PCY+fqb7hbSj71TZqbOtGe4lNL/XxPZyyc7iXm2MYiDk9D7AN9a4zZpYwnEtw0dmoW 44yUrhIUFMb2CQwsfpeNZRAt3OEDj8SOUuQg54lDP3e6+MC/1cBEydKsC2pVMR7KT+b2 0VQnsiXddzFMHeofqSxXE2HBMgHPcZPOl9nMqij5zaq4AnPjDUT0CKT2uZsUJhuNo+b6 Wq9z1XsBLdXk98ABprhr5salseCJIquXOAAVNNJbaXDnKCRg07jOqeLokEotRe/OHzvM HGEhg/3ruLs5GiUAZR+sRtsrtjQDps+0iJks9V9WcLJw7K5MUdDyCmyzfmnI4jVYmCph /qDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:to:subject; bh=BMfIeb1Mww8HYTdXIM1BdfbXls/mrrQpH83rsDrZWWs=; b=qUu8bPNrJZ7fD3XXDBTAL1cGzVRcwK0PESt2/YEdqduXcvMKnS563TEE0kCpfDfB2W xb3BPvN0WtwK6CnnQnv2/YQ3QNxwGGr34uMj4h1XrKzyuQMPoSf3gFaJbl35A+mylawJ +Gv4zyq9lAGRWddjXu5ozreBvR7R13gM6maeS5RkxWOW4NrtfTb0RVft0oO20f8uIJfa gLxVkFuoqYTj4IoJiY7wX0KOzINsFfgejqu6NZocWEyP/8uEcnwFmo0Wr1z9Nct9QO/h HMaztSEBoiVlA28LnjFh3juD4NQSRZkfJWp3CGYbTy5sDbTpBP71ktBbfFjVxVlNw6SW AOtQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31si25953167pli.242.2019.05.22.07.47.34; Wed, 22 May 2019 07:47:49 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729616AbfEVOqR (ORCPT + 99 others); Wed, 22 May 2019 10:46:17 -0400 Received: from mail.gydle.com ([64.18.173.180]:41483 "EHLO mail.gydle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729159AbfEVOqQ (ORCPT ); Wed, 22 May 2019 10:46:16 -0400 X-Greylist: delayed 383 seconds by postgrey-1.27 at vger.kernel.org; Wed, 22 May 2019 10:46:16 EDT X-Received: from [192.168.1.136] (unknown [69.70.179.254]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sboisvert@gydle.com) by mail.gydle.com (Postfix) with ESMTPSA id D37AB442DB; Wed, 22 May 2019 10:39:47 -0400 (EDT) Subject: Re: [lttng-dev] [PATCH v2] mm: Rename mm_vmscan_lru_shrink_inactive trace event variables To: Kirill Tkhai , akpm@linux-foundation.org, mjeanson@efficios.com, rostedt@goodmis.org, lttng-dev@lists.lttng.org, linux-kernel@vger.kernel.org References: <155851455676.7870.1951762540769724271.stgit@localhost.localdomain> <9b9a8da4-556a-8972-cf87-071ce5099ad0@virtuozzo.com> From: Sebastien Boisvert Openpgp: preference=signencrypt Autocrypt: addr=sboisvert@gydle.com; keydata= xsFNBFi0QgMBEADLVQ63iQaeZj99I4+5AZe9ilJQ/fE7J49iS+NV3ChKgTfxMlxhagmq4a8E czme5AGkYeb9JAufWzcaGe4DGHJ0l26QdU/YQcpxGVGTobql+LUQ4VgEe9MxB6sMuO7QV5fZ aO27nCqk488ZS7e5g7Y10lMrY+4ZqzjOBIWVOXPpsDrqFY4zKuryLMtRDdINDCl+uahpIi4F P/c00/uGR04s+UmdZRgB1RroyZJjeSHgyR90THl8sDssR8zddaDEae2aO1/1dMI9KGamStYe 5wo9zS4ewPAgfNxRdhsdBvCNIrU2qnKFIE9Juc59NjGPmeRUjB/iHHS6zY4BSNruWrUG5KHs ykHpZhP/Gg5y2RL3Pmu9vIBo5C8sUb2/sRNeWXSD7Rh/0zHtYu5T3cx3/gz71WNRhiOncZuY pgZltzFRxCYc9kDuthITXbI8GoR3XGq8uo2hTDBW8b+VYqLZ7n4fggkvo8f1bgt0ACVKR0nq JViiVO9mYDr7UUWUfS8CABAJCjsbqjxRHMEDw+UNbCS54KJ5vxxkt4LNd0nkwaVwMfrOF3mA foEjSmeM2NLx5SOJuMPOSRyOKjfsOgYEbFsA9hZJ34r/zAPEIdwHf57dY+nSiV/avcE6WN5P ks0CfGMOTBNsxyqYXPov7kkwvCb09KYU9/J6F1nM9Wm83knzewARAQABzShTZWJhc3RpZW4g Qm9pc3ZlcnQgPHNib2lzdmVydEBneWRsZS5jb20+wsF9BBMBCAAnBQJYtEIDAhsjBQkJZgGA BQsJCAcCBhUICQoLAgQWAgMBAh4BAheAAAoJEGsrrSebZ4/xsY4QAJHIgXH9+KBNt0rgccCt DN4ueDoRIEmYS7NK/gUKQ8yHUreRHNpJqRSxNKzUPmvVAnnLdaopf/abhS+Ado5QGAZhiNzp +szWcwT4Za8P1mat+/HJznz06TwgiBJNSuMwItZmlgkBpgt2GVtmTP8L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Phv/Q4oAafQaX7oN1XgTPNWgbcdU+OYVjHqVWvI ae7HXSITVgByZAK6Di7/byqqjl1hwkiZeIcajZqK8hws6h6bLLZBn7EcZAEj8VLSdfUjJqCt VOZyQGdo8sNYjJPeV69vNbBUbX7BcxhxRZEYXw1rCz/xaCbNyRqRsxT03haPLg+WVQARAQAB wsFlBBgBCAAPBQJYtEIDAhsMBQkJZgGAAAoJEGsrrSebZ4/x13oP/2gWO3D6zo2Ok13khz4u +blJz8rzV1PQ5TVJmrsU05pVDlKgoZdtfEUtHlfAkzvNUpoKhNRWVN5/3QLwF4z0jfXyFYuS 8CVMRA75h59jSABdCWvZrQLHKJV03t++IFBi3y2DUilHXrCHUxg0iJeUhbMorgxc43d6DJw2 o53r+hBTfexVvcCodOREHR253eaw55lnL1J4sn0KVfprd0tLUTtR6QtF6oMXTcRedrE5bbQB oH/mmorTeQcEO6uDqc9SgqzEaLpNUxsXOBEMp0HYsQBoTdGzsh6aZGrVHX47A3ZLFv9WbRB+ iluFb5KY2n673MOZgSuCFurTuNm+Ik4qfHz3KCVkEghN/swYZW/ONxqZC+2kIPO30WJOnvSL OptwSrxigmRMwJMCYI59NwaF9lyk/F8iL798mNXuhb9mWoiw2Qfjm5xAI+8u3ECDlF6RImKJ QW26frU/JgIUOPrTP+XkxBzCK+vKVekqjhASMH0vLMUBjY02EvqjYfR1egevXc63hMJDR513 uqyECDvmUMJulfMUR2BeaX/+6/alsvQLlvDF8sZ1wrP4PFdqTELwMPHvKsZgX4KhMnNUhPSD XxdTif6ZoOAt/ZdtmdSV6InuwAz/1C9VnBRGP459T4N2OYSql4P4rcGBokrQCFC4kP/ZdqDf vnOzfc5OOiR/D+lE Message-ID: Date: Wed, 22 May 2019 10:39:44 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <9b9a8da4-556a-8972-cf87-071ce5099ad0@virtuozzo.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-05-22 6:17 a.m., Kirill Tkhai wrote: > Rename nr_activate{0,1} into nr_activate{anon,file} since this Rename nr_activate{0,1} into nr_activate{anon,file} ^ add an underscore here (nr_activate_anon, nr_activate_file). > is exported into userspace, e.g., it's shown here: > > /sys/kernel/debug/tracing/events/vmscan/mm_vmscan_lru_shrink_inactive/format > > v2: Changed suggested person (sorry, Mathieu :)) > > Suggested-by: Mathieu Desnoyers > Signed-off-by: Kirill Tkhai > --- > include/trace/events/vmscan.h | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/include/trace/events/vmscan.h b/include/trace/events/vmscan.h > index a5ab2973e8dc..c316279715f4 100644 > --- a/include/trace/events/vmscan.h > +++ b/include/trace/events/vmscan.h > @@ -348,8 +348,8 @@ TRACE_EVENT(mm_vmscan_lru_shrink_inactive, > __field(unsigned long, nr_writeback) > __field(unsigned long, nr_congested) > __field(unsigned long, nr_immediate) > - __field(unsigned int, nr_activate0) > - __field(unsigned int, nr_activate1) > + __field(unsigned int, nr_activate_anon) > + __field(unsigned int, nr_activate_file) > __field(unsigned long, nr_ref_keep) > __field(unsigned long, nr_unmap_fail) > __field(int, priority) > @@ -364,8 +364,8 @@ TRACE_EVENT(mm_vmscan_lru_shrink_inactive, > __entry->nr_writeback = stat->nr_writeback; > __entry->nr_congested = stat->nr_congested; > __entry->nr_immediate = stat->nr_immediate; > - __entry->nr_activate0 = stat->nr_activate[0]; > - __entry->nr_activate1 = stat->nr_activate[1]; > + __entry->nr_activate_anon = stat->nr_activate[0]; > + __entry->nr_activate_file = stat->nr_activate[1]; > __entry->nr_ref_keep = stat->nr_ref_keep; > __entry->nr_unmap_fail = stat->nr_unmap_fail; > __entry->priority = priority; > @@ -377,7 +377,7 @@ TRACE_EVENT(mm_vmscan_lru_shrink_inactive, > __entry->nr_scanned, __entry->nr_reclaimed, > __entry->nr_dirty, __entry->nr_writeback, > __entry->nr_congested, __entry->nr_immediate, > - __entry->nr_activate0, __entry->nr_activate1, > + __entry->nr_activate_anon, __entry->nr_activate_file, > __entry->nr_ref_keep, __entry->nr_unmap_fail, > __entry->priority, > show_reclaim_flags(__entry->reclaim_flags)) > _______________________________________________ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev >