Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752831AbZIXORr (ORCPT ); Thu, 24 Sep 2009 10:17:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752513AbZIXORq (ORCPT ); Thu, 24 Sep 2009 10:17:46 -0400 Received: from terminus.zytor.com ([198.137.202.10]:37491 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752430AbZIXORq (ORCPT ); Thu, 24 Sep 2009 10:17:46 -0400 Message-ID: <4ABB7F58.5030508@zytor.com> Date: Thu, 24 Sep 2009 07:16:56 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Jason Baron CC: Ingo Molnar , Mathieu Desnoyers , Thomas Gleixner , Steven Rostedt , Andi Kleen , linux-kernel@vger.kernel.org Subject: Re: Immediate values References: <20090924123154.GA12907@Krystal> <20090924123428.GA27282@elte.hu> <20090924140228.GA2648@redhat.com> In-Reply-To: <20090924140228.GA2648@redhat.com> 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: 739 Lines: 20 Jason Baron wrote: > > http://marc.info/?l=linux-kernel&m=125200966226921&w=2 > > The basic idea is that gcc, 4.5 will have support for an 'asm goto' > construct which can refer to c code labels. Thus, we can replace a nop > in the code stream with a 'jmp' instruction to various branch targets. > Looking at the above, I'm a bit unclear for the need for a NOP5. We obviously need a *total* of 5 bytes, but at least I don't seem to understand why we need 7 bytes per tracepoint. -hpa -- 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/