[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190328005644.GA3250@hsj-Precision-5520>
Date: Thu, 28 Mar 2019 08:56:44 +0800
From: Huang Shijie <sjhuang@...vatar.ai>
To: Steven Rostedt <rostedt@...dmis.org>
CC: <mingo@...hat.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] trace/page_ref: print out the page migratetype name
On Wed, Mar 27, 2019 at 09:24:22AM -0400, Steven Rostedt wrote:
> On Wed, 27 Mar 2019 13:09:37 +0800
> Huang Shijie <sjhuang@...vatar.ai> wrote:
>
> > Print out the page migratetype name which is more readable.
>
> Except that it breaks perf and trace-cmd, as they wont know what a
> migratetype_names array contains.
>
> See how writeback does it. Which would be something like this for you.
>
> /* enums need to be exported to user space */
Thanks for pointing this...
I did not notice that it will breaks the perf and trace-cmd.
So please just ignore this patch.
Thanks
Huang Shijie
Powered by blists - more mailing lists