[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9c67941f-05f0-0d3e-ecc8-dcea60254c8b@suse.de>
Date: Fri, 22 Jul 2016 18:27:07 -0700
From: Tony Jones <tonyj@...e.de>
To: Michal Hocko <mhocko@...nel.org>,
Janani Ravichandran <janani.rvchndrn@...il.com>
Cc: Rik van Riel <riel@...riel.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
hannes@...xchg.org, vdavydov@...tuozzo.com, vbabka@...e.cz,
mgorman@...hsingularity.net, kirill.shutemov@...ux.intel.com,
bywxiaobai@....com
Subject: Re: [PATCH 1/3] Add a new field to struct shrinker
On 07/20/2016 07:54 AM, Michal Hocko wrote:
>> Michal, just to make sure I understand you correctly, do you mean that we
>> could infer the names of the shrinkers by looking at the names of their callbacks?
>
> Yes, %ps can then be used for the name of the shrinker structure
> (assuming it is available).
This is fine for emitting via the ftrace /sys interface, but in order to have the data [name] get
marshalled thru to perf (for example) you need to add it to the TP_fast_assign entry.
tony
Powered by blists - more mailing lists