From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Tromey Subject: Re: linux-next: add utrace tree Date: Tue, 26 Jan 2010 16:20:22 -0700 Message-ID: References: <20100121013822.28781960.sfr@canb.auug.org.au> <20100122005147.GD22003@redhat.com> <20100121170541.7425ff10.akpm@linux-foundation.org> <20100122182827.GA13185@redhat.com> <20100122200129.GG22003@redhat.com> <20100122221348.GA4263@redhat.com> Reply-To: Tom Tromey Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: (Linus Torvalds's message of "Mon, 25 Jan 2010 13:41:57 -0800 (PST)") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: utrace-devel-bounces@redhat.com Errors-To: utrace-devel-bounces@redhat.com To: Linus Torvalds Cc: Stephen Rothwell , Kyle Moffett , Peter Zijlstra , Peter Zijlstra , Fr??d??ric Weisbecker , Oleg Nesterov , Steven Rostedt , LKML , Arnaldo Carvalho de Melo , "Frank Ch. Eigler" , linux-next@vger.kernel.org, "H. Peter Anvin" , utrace-devel@redhat.com, Thomas Gleixner List-Id: linux-next.vger.kernel.org >>>>> "Linus" == Linus Torvalds writes: Tom> * Support "displaced stepping" in the kernel; I think this would improve Tom> performance when debugging in non-stop mode. Linus> Don't we already do that at least on x86? I don't know. If it does, and gdb does not yet use that, then that would be worth changing. Linus> Or maybe I'm not understanding what displaced stepping means to you. In non-stop mode (where you can stop one thread but leave the others running), gdb wants to have the breakpoints always inserted. So, something must emulate the displaced instruction. Tom