Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753632Ab1DUD2M (ORCPT ); Wed, 20 Apr 2011 23:28:12 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:35321 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753471Ab1DUD2K convert rfc822-to-8bit (ORCPT ); Wed, 20 Apr 2011 23:28:10 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=bzfMRRG/ERlkVL+GETViVODHjv17Tu7kZhlwq9WKfftcXBuAkjPQfG+yXA+TX6mwEq Wt8AQw++qf1YGmnIuC4lmmuLlFGJvmnmV6i9vlnU9K8kCsmAabcqnNUOkHwZbYYZgmJi XhuGaGIxSidxWHv9mK92Q/Sds5CwT8PtERHqM= MIME-Version: 1.0 In-Reply-To: <20110421024648.GA24898@home.goodmis.org> References: <1302024458.2225.1350.camel@twins> <1302077959.2225.1378.camel@twins> <20110421024648.GA24898@home.goodmis.org> From: Hui Zhu Date: Thu, 21 Apr 2011 11:27:50 +0800 Message-ID: Subject: Re: KGTP (Linux Kernel debugger and tracer) 20110405 release To: Steven Rostedt Cc: Dongdong Deng , Jason Wessel , Peter Zijlstra , linux-kernel@vger.kernel.org, Marc Khouzam , Thiago Jung Bauermann , Steven , colyli@gmail.com, Christoph Hellwig Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1513 Lines: 41 On Thu, Apr 21, 2011 at 10:46, Steven Rostedt wrote: > On Fri, Apr 08, 2011 at 04:25:28PM +0800, Hui Zhu wrote: >> After a discussion with Dongdong, I think I have different idea with that. >> >> 1. I don't want change the current interface of kgtp. ?Because a proc >> interface is very simple and stable interface. >> And with proc, kgtp can very easy connect with GDB without Kernel > > Can you use the debugfs interface instead of proc. Proc is too > overloaded as is, and debugfs seems to be a perfect match in this case. > > -- Steve Hi Steve, I really agree with what you said. I will change it. Thank a lot. Best, Hui > >> help. ?Please see >> https://code.google.com/p/kgtp/wiki/HOWTO#Make_GDB_connect_to_gtp and >> https://code.google.com/p/kgtp/wiki/HOWTO#Offline_debug >> >> 2. I don't want remove the kprobe. ?Because what I want kgtp is to be >> a Linux Kernel tracepoint interface with gdb. ?I will add other >> tracepoint like TRACE_EVENT. >> And move it to gdb breakpoint is too far away from it. ?And it is too >> much depend on kgdb. >> >> Of course, I am very happy to share the GDB rsp tracepoint parse code >> with kgdb to make it support gdb tracepoint. >> Trust me, My code is more clear than the doc of GDB. ?:) >> > -- 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/