From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754354AbbDMNlD (ORCPT ); Mon, 13 Apr 2015 09:41:03 -0400 Received: from mail.kernel.org ([198.145.29.136]:39333 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754314AbbDMNlA (ORCPT ); Mon, 13 Apr 2015 09:41:00 -0400 Date: Mon, 13 Apr 2015 10:40:56 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , David Ahern , Minchan Kim , Joonsoo Kim , linux-mm@kvack.org Subject: Re: [PATCH 3/9] perf kmem: Analyze page allocator events also Message-ID: <20150413134056.GE3200@kernel.org> References: <1428298576-9785-1-git-send-email-namhyung@kernel.org> <1428298576-9785-4-git-send-email-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1428298576-9785-4-git-send-email-namhyung@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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