Em Mon, Apr 06, 2015 at 02:36:10PM +0900, Namhyung Kim escreveu: > The perf kmem command records and analyze kernel memory allocation > only for SLAB objects. This patch implement a simple page allocator > analyzer using kmem:mm_page_alloc and kmem:mm_page_free events. > > It adds two new options of --slab and --page. The --slab option is > for analyzing SLAB allocator and that's what perf kmem currently does. > > The new --page option enables page allocator events and analyze kernel > memory usage in page unit. Currently, 'stat --alloc' subcommand is > implemented only. > > If none of these --slab nor --page is specified, --slab is implied. > > # perf kmem stat --page --alloc --line 10 Applied this and the kernel part, tested, thanks, - Arnaldo -- 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>