Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756539Ab1CBSuQ (ORCPT ); Wed, 2 Mar 2011 13:50:16 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:38236 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754902Ab1CBSuM (ORCPT ); Wed, 2 Mar 2011 13:50:12 -0500 Date: Wed, 2 Mar 2011 19:49:53 +0100 From: Ingo Molnar To: Dave Hansen Cc: Liu Yuan , linux-kernel@vger.kernel.org, linux-mm@kvack.org, jaxboe@fusionio.com, akpm@linux-foundation.org, fengguang.wu@intel.com, Peter Zijlstra , =?iso-8859-1?Q?Fr=E9d=E9ric?= Weisbecker , Steven Rostedt , Thomas Gleixner , Arnaldo Carvalho de Melo Subject: Re: [RFC PATCH 4/5] mm: Add hit/miss accounting for Page Cache Message-ID: <20110302184953.GH13693@elte.hu> References: <1299055090-23976-4-git-send-email-namei.unix@gmail.com> <20110302084542.GA20795@elte.hu> <1299085326.8493.820.camel@nimitz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1299085326.8493.820.camel@nimitz> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.3.1 -2.0 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1829 Lines: 40 * Dave Hansen wrote: > On Wed, 2011-03-02 at 09:45 +0100, Ingo Molnar wrote: > > But, instead of trying to improve those aspects of our existing instrumentation > > frameworks, mm/* is gradually growing its own special instrumentation hacks, missing > > the big picture and fragmenting the instrumentation space some more. > > > > That trend is somewhat sad. > > Go any handy examples of how you'd like to see these done? There's a very, very old branch in tip:tracing/mm (by Steve) that shows off some of the concepts that could be introduced, to 'dump' current MM state via an extension to the tracepoints APIs: 3383e37ea796: tracing, page-allocator: Add a postprocessing script for page-allocator-related ftrace events c33b3596bc38: tracing, page-allocator: Add trace event for page traffic related to the buddy lists 0d524fb734bc: tracing, mm: Add trace events for anti-fragmentation falling back to other migratetypes b9a28177eedf: tracing, page-allocator: Add trace events for page allocation and page freeing 807243eb20b2: Merge branch 'perfcounters/urgent' into tracing/mm 08b6cb88eeb5: perf_counter tools: Provide default bfd_demangle() function in case it's not around eb4671011887: tracing/mm: rename 'trigger' file to 'dump_range' 1487a7a1ff99: tracing/mm: fix mapcount trace record field dcac8cdac1d4: tracing/mm: add page frame snapshot trace That's just a demo in essence - showing what things could be done in this area. You can pick those commits up via running: http://people.redhat.com/mingo/tip.git/README Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/