Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758139AbZDQADh (ORCPT ); Thu, 16 Apr 2009 20:03:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755561AbZDQAD2 (ORCPT ); Thu, 16 Apr 2009 20:03:28 -0400 Received: from gw.goop.org ([64.81.55.164]:60297 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753516AbZDQAD1 (ORCPT ); Thu, 16 Apr 2009 20:03:27 -0400 Message-ID: <49E7C74A.8030100@goop.org> Date: Thu, 16 Apr 2009 17:03:22 -0700 From: Jeremy Fitzhardinge User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Mathieu Desnoyers CC: Steven Rostedt , linux-kernel@vger.kernel.org, Ingo Molnar , Andrew Morton , Thomas Gleixner , Peter Zijlstra , Frederic Weisbecker , Theodore Tso , Arjan van de Ven , Christoph Hellwig , Lai Jiangshan , Zhaolei , Li Zefan , KOSAKI Motohiro , Masami Hiramatsu , "Frank Ch. Eigler" , Tom Zanussi , Jiaying Zhang , Michael Rubin , Martin Bligh , Peter Zijlstra , Neil Horman , Eduard - Gabriel Munteanu , Pekka Enberg Subject: Re: [PATCH 2/8] tracing: create automated trace defines References: <20090414172337.280621613@goodmis.org> <20090414172640.796858018@goodmis.org> <49E51FC1.8090306@goop.org> <20090415014548.GA7984@Krystal> <49E6065B.7080409@goop.org> <20090416023456.GC22378@Krystal> <49E69E76.9030608@goop.org> <20090416234410.GA20513@Krystal> In-Reply-To: <20090416234410.GA20513@Krystal> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 816 Lines: 22 Mathieu Desnoyers wrote: > The other point I dislike about the out-of-line approach is that the > tracer will suffer from a pointless supplementary function call at each > event. Given how slow function calls are, at least on x86, I'd prefer > leaving the handler call chain inline, unless there is a very strong > reason not to do so. > Are they? They're generally considered to be "free", because the call and return are predicted 100% accurately. > I'll come up with a patch that leaves the tracepoint inline, but fixes > the header dependency. > OK. J -- 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/