Re: [PATCH] trace/page_ref: print out the page migratetype name

2019-03-27 Thread Huang Shijie
On Wed, Mar 27, 2019 at 09:24:22AM -0400, Steven Rostedt wrote: > On Wed, 27 Mar 2019 13:09:37 +0800 > Huang Shijie 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.

Re: [PATCH] trace/page_ref: print out the page migratetype name

2019-03-27 Thread Steven Rostedt
On Wed, 27 Mar 2019 13:09:37 +0800 Huang Shijie 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. /*

[PATCH] trace/page_ref: print out the page migratetype name

2019-03-26 Thread Huang Shijie
Print out the page migratetype name which is more readable. Signed-off-by: Huang Shijie --- include/trace/events/page_ref.h | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/trace/events/page_ref.h b/include/trace/events/page_ref.h index