Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752069AbYH3NlR (ORCPT ); Sat, 30 Aug 2008 09:41:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750856AbYH3NlH (ORCPT ); Sat, 30 Aug 2008 09:41:07 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:56102 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750817AbYH3NlE (ORCPT ); Sat, 30 Aug 2008 09:41:04 -0400 Date: Sat, 30 Aug 2008 09:40:57 -0400 From: Christoph Hellwig To: Ananth N Mavinakayanahalli Cc: Christoph Hellwig , "Frank Ch. Eigler" , Alexey Dobriyan , Roland McGrath , Linus Torvalds , Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] utrace Message-ID: <20080830134057.GB17566@infradead.org> References: <20080826220102.89635154233@magilla.localdomain> <20080826223402.GB27724@x200.localdomain> <20080827135453.GA31240@infradead.org> <20080827164055.GA22236@in.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080827164055.GA22236@in.ibm.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1378 Lines: 26 On Wed, Aug 27, 2008 at 10:10:55PM +0530, Ananth N Mavinakayanahalli wrote: > Uprobes is just one user of utrace. It is intended for use for simple > tracing where we need a kernel+userspace look at the problem at hand. > The intention is for use in simple cases (when condition x is met, what > is the value of variable y, etc). > > For more advanced tracing though, there are other ideas being proposed > (see ntrace discussions on utrace-devel, but I guess now lkml is the > right place for that discussion too). > > However, there are components of uprobes such as breakpoint > insertion/removal and single-stepping infrastructure that are > potentially useful to other userspace debuggers. We are working on > factoring those out to live independent of uprobes. You should be seeing > those patches soon. I hope my original mail was clear that I'm not principially against utrace. I think having a generic trace even dispatcher is a good thing if it is a) not overly complicated (see Alexey?s mails for that) and b) actually has a user. A better debugger interface as the ntrace idea would be the prime candidate for that. -- 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/