Messages in this thread |  | | Date | Mon, 13 Apr 2015 10:40:56 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH 3/9] perf kmem: Analyze page allocator events also |
| |
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
|  |