From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754850AbcISJmg (ORCPT ); Mon, 19 Sep 2016 05:42:36 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34072 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751277AbcISJm1 (ORCPT ); Mon, 19 Sep 2016 05:42:27 -0400 Date: Mon, 19 Sep 2016 11:42:24 +0200 From: Michal Hocko To: Janani Ravichandran Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, riel@surriel.com, akpm@linux-foundation.org, vdavydov@virtuozzo.com, vbabka@suse.cz, mgorman@techsingularity.net, rostedt@goodmis.org Subject: Re: [RFC] scripts: Include postprocessing script for memory allocation tracing Message-ID: <20160919094224.GH10785@dhcp22.suse.cz> References: <20160911222411.GA2854@janani-Inspiron-3521> <20160912121635.GL14524@dhcp22.suse.cz> <0ACE5927-A6E5-4B49-891D-F990527A9F50@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0ACE5927-A6E5-4B49-891D-F990527A9F50@gmail.com> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 13-09-16 14:04:49, Janani Ravichandran wrote: > > > On Sep 12, 2016, at 8:16 AM, Michal Hocko wrote: > > > > Hi, > > Hello Michal, > > > I am sorry I didn't follow up on the previous submission. > > That’s alright :) > > > I find this > > _really_ helpful. It is great that you could build on top of existing > > tracepoints but one thing is not entirely clear to me. Without a begin > > marker in __alloc_pages_nodemask we cannot really tell how long the > > whole allocation took, which would be extremely useful. Or do you use > > any graph tracer tricks to deduce that? > > I’m using the function graph tracer to see how long __alloc_pages_nodemask() > took. How can you map the function graph tracer to a specif context? Let's say I would like to know why a particular allocation took so long. Would that be possible? -- Michal Hocko SUSE Labs