Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760057AbZKZIrs (ORCPT ); Thu, 26 Nov 2009 03:47:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760024AbZKZIrr (ORCPT ); Thu, 26 Nov 2009 03:47:47 -0500 Received: from 0122700014.0.fullrate.dk ([95.166.99.235]:46611 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759404AbZKZIrq (ORCPT ); Thu, 26 Nov 2009 03:47:46 -0500 Date: Thu, 26 Nov 2009 09:47:52 +0100 From: Jens Axboe To: Ingo Molnar Cc: Li Zefan , Steven Rostedt , Frederic Weisbecker , LKML Subject: Re: [PATCH 6/9] tracing: Convert some block events to DEFINE_EVENT Message-ID: <20091126084752.GP8742@kernel.dk> References: <4B0E2807.4060102@cn.fujitsu.com> <4B0E28E6.7060609@cn.fujitsu.com> <20091126083621.GM8742@kernel.dk> <20091126084443.GA1389@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091126084443.GA1389@elte.hu> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1254 Lines: 33 On Thu, Nov 26 2009, Ingo Molnar wrote: > > * Jens Axboe wrote: > > > On Thu, Nov 26 2009, Li Zefan wrote: > > > use TRACE_EVENT_TEMPLATE to remove duplicate code: > > > > > > text data bss dec hex filename > > > 53570 3284 184 57038 dece block/blk-core.o.old > > > 43702 3284 144 47130 b81a block/blk-core.o > > > > Nice! When I played with the writeback tracing, I did notice that code > > bloat does get pretty severe quickly. > > > > I have applied this to for-2.6.33, thanks a lot. > > Note that it wont build in your tree, because the TRACE_EVENT_TEMPLATE / > DEFINE_EVENT facility this relies on is not upstream yet. > > The events are not affected in any way (and block/* is not modified) - > it's just a more efficient representation of the same. I've applied them > to -tip, to keep the facility and dependent updates in a single place. OK, lets merge them through -tip then. You can add my acked-by. -- Jens Axboe -- 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/