Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753831Ab0AXNVA (ORCPT ); Sun, 24 Jan 2010 08:21:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753587Ab0AXNU7 (ORCPT ); Sun, 24 Jan 2010 08:20:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:23431 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751323Ab0AXNU6 (ORCPT ); Sun, 24 Jan 2010 08:20:58 -0500 Date: Sun, 24 Jan 2010 08:20:09 -0500 From: "Frank Ch. Eigler" To: tytso@mit.edu, Linus Torvalds , Kyle Moffett , Oleg Nesterov , Andrew Morton , Stephen Rothwell , Peter Zijlstra , Peter Zijlstra , Fr??d??ric Weisbecker , LKML , Steven Rostedt , Arnaldo Carvalho de Melo , linux-next@vger.kernel.org, "H. Peter Anvin" , utrace-devel@redhat.com, Thomas Gleixner Subject: Re: linux-next: add utrace tree Message-ID: <20100124132009.GB4263@redhat.com> References: <20100122182827.GA13185@redhat.com> <20100122200129.GG22003@redhat.com> <20100122221348.GA4263@redhat.com> <20100124102513.GB4382@thunk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100124102513.GB4382@thunk.org> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1436 Lines: 37 Hi - On Sun, Jan 24, 2010 at 05:25:13AM -0500, tytso@mit.edu wrote: > [...] > > > The killer app for this will be the ability to delete thousands of > > > lines of code from GDB, strace, and all the various other tools that > > > have to painfully work around the major interface gotchas of ptrace(), > > > while at the same time making their handling of complex processes much > > > more robust. > > > > No. There is absolutely _no_ reason to believe that gdb et al would ever > > delete the ptrace interfaces anyway. > > More to the point, gdb *couldn't* use utrace, because utrace only > exports a kernel API; not a syscall interface. Yes, this might explain why Kyle wrote: > > > [...] I believe that "utrace" is the kernel side of that > > > API. [...] > And if the Red Hat Toolchain folks are thinking about encouraging > gdb to start creating out-of-tree kernel modules [...] the Red Hat > Toolchain group needs to be smacked upside the head... Those keeping up will note that an ordinary in-tree, non-modular, non-root-only, already-works-with-standard-gdb, potentially-better-than-ptrace debugger interface has already been prototyped & posted on lkml as an RFC. - FChE -- 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/