From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22422 invoked by alias); 14 Nov 2011 05:15:17 -0000 Received: (qmail 22350 invoked by uid 22791); 14 Nov 2011 05:15:16 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-bw0-f41.google.com (HELO mail-bw0-f41.google.com) (209.85.214.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Nov 2011 05:15:04 +0000 Received: by mail-bw0-f41.google.com with SMTP id 17so5206599bke.0 for ; Sun, 13 Nov 2011 21:15:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.10.81 with SMTP id o17mr17778159bko.65.1321247703377; Sun, 13 Nov 2011 21:15:03 -0800 (PST) Received: by 10.223.118.7 with HTTP; Sun, 13 Nov 2011 21:15:03 -0800 (PST) Date: Mon, 14 Nov 2011 05:15:00 -0000 Message-ID: Subject: KGTP (Linux Kernel debugger and tracer) 20111111 release (Android support OK) From: Hui Zhu To: linux-kernel@vger.kernel.org, "gdb@sourceware.org" , kgtp Cc: Marc Khouzam , Thiago Jung Bauermann , Steven , colyli@gmail.com, Christoph Hellwig , Steven Rostedt , Randy Dunlap Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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-11/txt/msg00091.txt.bz2 KGTP is a realtime and lightweight Linux Kernel GDB debugger and tracer. It makes Linux Kernel supply a GDB remote debug interface. Then GDB in current machine or remote machine 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. Now, it supports X86-32, X86-64, MIPS and ARM. Now, KGTP 20111111 release. The change of this release is: Add a doc for use KGTP with Android in https://code.google.com/p/kgtp/wiki/HowToUseKGTPinAndroid post_handler will make kprobes-optimization cannot be used. So make gtp_kp_post_handler be call only when tpe->step is true. Make rdtsc_current to x86 special. Register easy Kprobe handler to speed up it when no tracepoint access $cooked_clock, $cooked_rdtsc or "pc_pe" tvariable. Fix a bug of ARM build. To get other change info please goto https://code.google.com/p/kgtp/wiki/UPDATE According to the comments of Christoph. I make a patch for Linux Kernel and make it looks OK with checkpatch.pl. The file gtp.patch is include in the source of KGTP code. Thanks, Hui