[PATCH 2/5] perf kmem: Analyze page allocator events also

2015-04-13 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim 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 analy

Re: [PATCH 2/5] perf kmem: Analyze page allocator events also

2015-03-24 Thread Namhyung Kim
Hi Ingo, On Tue, Mar 24, 2015 at 08:08:03AM +0100, Ingo Molnar wrote: > * Joonsoo Kim wrote: > > How about following change and making 'perf kmem' print pfn? > > If we store pfn on the trace buffer, we can print $debugfs/tracing/trace > > as is and 'perf kmem' can also print pfn. > > > > Thanks.

Re: [PATCH 2/5] perf kmem: Analyze page allocator events also

2015-03-24 Thread Ingo Molnar
* Joonsoo Kim wrote: > 2015-03-24 9:18 GMT+09:00 Namhyung Kim : > > On Tue, Mar 24, 2015 at 02:32:17AM +0900, Joonsoo Kim wrote: > >> 2015-03-23 15:30 GMT+09:00 Namhyung Kim : > >> > The perf kmem command records and analyze kernel memory allocation > >> > only for SLAB objects. This patch impl

Re: [PATCH 2/5] perf kmem: Analyze page allocator events also

2015-03-23 Thread Namhyung Kim
Hi Joonsoo, On Tue, Mar 24, 2015 at 02:26:39PM +0900, Joonsoo Kim wrote: > 2015-03-24 9:18 GMT+09:00 Namhyung Kim : > > On Tue, Mar 24, 2015 at 02:32:17AM +0900, Joonsoo Kim wrote: > >> 2015-03-23 15:30 GMT+09:00 Namhyung Kim : > >> > The perf kmem command records and analyze kernel memory allocat

Re: [PATCH 2/5] perf kmem: Analyze page allocator events also

2015-03-23 Thread Joonsoo Kim
2015-03-24 9:18 GMT+09:00 Namhyung Kim : > On Tue, Mar 24, 2015 at 02:32:17AM +0900, Joonsoo Kim wrote: >> 2015-03-23 15:30 GMT+09:00 Namhyung Kim : >> > The perf kmem command records and analyze kernel memory allocation >> > only for SLAB objects. This patch implement a simple page allocator >> >

Re: [PATCH 2/5] perf kmem: Analyze page allocator events also

2015-03-23 Thread Namhyung Kim
On Tue, Mar 24, 2015 at 02:32:17AM +0900, Joonsoo Kim wrote: > 2015-03-23 15:30 GMT+09:00 Namhyung Kim : > > 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_

Re: [PATCH 2/5] perf kmem: Analyze page allocator events also

2015-03-23 Thread Joonsoo Kim
2015-03-23 15:30 GMT+09:00 Namhyung Kim : > 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.

[PATCH 2/5] perf kmem: Analyze page allocator events also

2015-03-22 Thread Namhyung Kim
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 a