From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755215Ab0JSWSf (ORCPT ); Tue, 19 Oct 2010 18:18:35 -0400 Received: from www.tglx.de ([62.245.132.106]:44050 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754890Ab0JSWSe (ORCPT ); Tue, 19 Oct 2010 18:18:34 -0400 Date: Wed, 20 Oct 2010 00:17:28 +0200 (CEST) From: Thomas Gleixner To: Jason Baron cc: Mathieu Desnoyers , Steven Rostedt , Koki Sanagi , Peter Zijlstra , Ingo Molnar , Frederic Weisbecker , nhorman@tuxdriver.com, scott.a.mcmillan@intel.com, laijs@cn.fujitsu.com, "H. Peter Anvin" , LKML , eric.dumazet@gmail.com, kaneshige.kenji@jp.fujitsu.com, David Miller , izumi.taku@jp.fujitsu.com, kosaki.motohiro@jp.fujitsu.com, Heiko Carstens , "Luck, Tony" Subject: Re: [PATCH] tracing: Cleanup the convoluted softirq tracepoints In-Reply-To: Message-ID: References: <1287395077.29097.1543.camel@twins> <1287398936.29097.1548.camel@twins> <4CBD79CF.2060706@jp.fujitsu.com> <20101019132236.GA19197@Krystal> <1287496495.16971.372.camel@gandalf.stny.rr.com> <20101019142820.GA14520@Krystal> <20101019212816.GA2855@redhat.com> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 19 Oct 2010, Thomas Gleixner wrote: > On Tue, 19 Oct 2010, Jason Baron wrote: > > > Now even worse, when you NOP out the jmpq then your tracepoint is > > > still not enabled. Brilliant ! > > > > > > > The 'jmpq' in the enabled case is patched with a jmpq to the body of the > > tracepoint itself. > > Brilliant. IOW, We now jump around the jump which jumps around the disabled code. Thanks, tglx