From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8590 invoked by alias); 26 Dec 2011 07:54:05 -0000 Received: (qmail 8581 invoked by uid 22791); 26 Dec 2011 07:54:04 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_SV X-Spam-Check-By: sourceware.org Received: from mail-ee0-f41.google.com (HELO mail-ee0-f41.google.com) (74.125.83.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Dec 2011 07:53:51 +0000 Received: by eekc41 with SMTP id c41so11492975eek.0 for ; Sun, 25 Dec 2011 23:53:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.26.16 with SMTP id b16mr4760885ebc.61.1324886029637; Sun, 25 Dec 2011 23:53:49 -0800 (PST) Received: by 10.213.15.210 with HTTP; Sun, 25 Dec 2011 23:53:49 -0800 (PST) In-Reply-To: References: Date: Mon, 26 Dec 2011 07:54:00 -0000 Message-ID: Subject: Re: KGTP (Linux Kernel debugger and tracer) 20111218 release From: Geunsik Lim To: Hui Zhu Cc: linux-kernel@vger.kernel.org, "gdb@sourceware.org" , kgtp , Marc Khouzam , Thiago Jung Bauermann , Steven , colyli@gmail.com, Christoph Hellwig , Steven Rostedt , Randy Dunlap Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-12/txt/msg00048.txt.bz2 On Fri, Dec 23, 2011 at 3:21 PM, Hui Zhu wrote: > Hi Geunsik, > > On Fri, Dec 23, 2011 at 12:58, Geunsik Lim wrote: >> On Sun, Dec 18, 2011 at 9:11 PM, Hui Zhu wrote: >>> KGTP is a realtime and lightweight Linux Kernel debugger and tracer. >>> >>> It makes Linux Kernel supply a GDB remote debug interface. Then GDB in >>> current machine or remote machine (see >>> https://code.google.com/p/kgtp/wiki/HOWTO#Make_GDB_connect_to_gtp) can >>> debug and trace Linux through GDB tracepoint without stopping the >>> Linux Kernel. >>> And even if the board doesn't have GDB on it and doesn't have >>> interface for remote debug. It can debug the Linux Kernel using >>> offline debug (See >>> https://code.google.com/p/kgtp/wiki/HOWTO#Offline_debug). >>> And it can work with Android (See >>> https://code.google.com/p/kgtp/wiki/HowToUseKGTPinAndroid). >>> Now, it supports X86-32, X86-64, MIPS and ARM. >>> >>> Now, KGTP 20111218 release. >>> You can get the package for it from >>> http://kgtp.googlecode.com/files/kgtp_20111218.tar.bz2 >>> or >>> svn co https://kgtp.googlecode.com/svn/tags/20111218 >>> >>> The change of this release is: >>> Add gtp_rb to be the new frame buffer to make trace record speed up >>> and more friendly to the older version Linux kernel. >>> Rename gtp.patch to gtp_for_review.patch. >>> Add Linux Kernel patch gtp_3.0_to_upstream.patch(3.0 to upstream), >>> gtp_2.6.39.patch(2.6.39), gtp_2.6.33_to_2.6.38.patch(2.6.33 to 2.6.38) >>> and gtp_older_to_2.6.32.patch(older to 2.6.32). >> Thank you for your upgrade work for the compatibility among various >> linux version. >> I am testing normally on evaluation board based on ARM cortex using >> the latest Linux. > > Thanks. =C2=A0Please tell me if you get some trouble with it. > >>> Then you can include KGTP in your Kernel source tree. >>> Add special trace state variable $gtp_version to show the version of KG= TP. >>> Fix some build errors of gtp_for_review.patch. >>> Fix some build errors in ARM. >>> Update doc. >>> To get other change info please goto https://code.google.com/p/kgtp/wik= i/UPDATE >>> >>> According to the comments of Christoph. =C2=A0I make a patch for Linux >>> Kernel and make it looks OK with checkpatch.pl. =C2=A0The file >>> gtp_for_review.patch is include in the source of KGTP code. >> I have one question about KGTP. >> Previously, GDB Tracepoints for linux Linux kernel 2.6.19 is developed >> by Jim Blandy >> of Cygnus. He also presented to share this practical approach at FOSDEM = 2007. >> If you can, Can you explain the difference(e.g: merits, demerits, and >> so on) between >> GDB Tracepoint of Jim =C2=A0and KGTP by you? > > I am not sure about this one. =C2=A0Because I cannot find anything about > it. =C2=A0Could you give me a link or something? Sorry I am late because of X-mas day. Refer to http://www.red-bean.com/trac/tracepoints You can read about Tracepoints for the Linux kernel in detail at the above website . > > For now, I just know the difference is I am a GDB developer too. =C2=A0So= I > can make KGTP develop more close to GDB devekop. =C2=A0It can handle some > issue more easy. > > Thanks, > Hui > >> >>> >>> Thanks, >>> Hui >> >> >> >> -- >> Best regards, >> Geunsik Lim ( Samsung Electronics ) >> Blog : http://blog.naver.com/invain/ >> Homepage: http://leemgs.fedorapeople.org >> -- >> 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=C2=A0 http://vger.kernel.org/majordomo-info.html >> Please read the FAQ at=C2=A0 http://www.tux.org/lkml/ --=20 Best regards, Geunsik Lim ( Samsung Electronics ) Blog : http://blog.naver.com/invain/ Homepage: http://leemgs.fedorapeople.org -- 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=C2=A0 http://vger.kernel.org/majordomo-info.html Please read the FAQ at=C2=A0 http://www.tux.org/lkml/