On 11/24/2015 12:55 PM, Joonsoo Kim wrote: > On Tue, Nov 24, 2015 at 11:40:28AM +0800, Aaron Lu wrote: >> BTW, I'm still learning how to do proper ftrace for this case and it may >> take a while. > > You can do it simply with trace-cmd. > > sudo trace-cmd record -e compaction & > run test program > fg > Ctrl + c > > sudo trace-cmd report Thanks for the tip, I just recorded it like this: trace-cmd record -e compaction ./usemem xxx Due to the big size of trace.out(6MB after compress), I've uploaed it: https://drive.google.com/open?id=0B49uX3igf4K4UkJBOGt3cHhOU00 The pagetypeinfo, perf and proc-vmstat is also there. Regards, Aaron -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>