From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7337 invoked by alias); 14 Jun 2010 11:15:54 -0000 Received: (qmail 7324 invoked by uid 22791); 14 Jun 2010 11:15:53 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Jun 2010 11:15:49 +0000 Received: (qmail 32514 invoked from network); 14 Jun 2010 11:15:46 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 14 Jun 2010 11:15:46 -0000 From: Pedro Alves To: Tom Tromey Subject: [NEWS/RFA] Re: [gdbserver] x86 agent expression bytecode compiler (speed up conditional tracepoints) Date: Mon, 14 Jun 2010 11:15:00 -0000 User-Agent: KMail/1.13.2 (Linux/2.6.32-22-generic; KDE/4.4.2; x86_64; ; ) Cc: gdb-patches@sourceware.org References: <201006071700.28706.pedro@codesourcery.com> <201006101836.40834.pedro@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006141215.41726.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-06/txt/msg00303.txt.bz2 On Thursday 10 June 2010 19:43:37, Tom Tromey wrote: > Pedro> Hmmmm. This is an implementation detail of gdbserver's fast > Pedro> tracepoints, and gdbserver fast tracepoints are new in 7.2. What > Pedro> would we announce? > > Just mention the JIT in the current paragraph. > JITting is cool, we should at least publicize it a little. How about this, then? Okay? -- Pedro Alves 2010-06-14 Pedro Alves * NEWS: Mention GDBserver's JIT compilation of tracepoint bytecode. --- gdb/NEWS | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) Index: src/gdb/NEWS =================================================================== --- src.orig/gdb/NEWS 2010-06-14 11:59:21.000000000 +0100 +++ src/gdb/NEWS 2010-06-14 12:12:54.000000000 +0100 @@ -36,7 +36,14 @@ qRelocInsn - GDBserver now support tracepoints (including fast tracepoints). The feature is currently supported by the i386-linux and amd64-linux builds. See the "Tracepoints support in gdbserver" - section in the manual for more information. + section in the manual for more information. GDBserver JIT + compiles the tracepoint's conditional agent expression bytecode + into native code whenever possible for low overhead dynamic + tracepoints conditionals. For such tracepoints, an expression + that examines program state is evaluated when the tracepoint is + reached, in order to determine whether to capture trace data. If + the condition is simple and false, processing the tracepoint + finishes very quickly and no data is gathered. - GDBserver now supports x86_64 Windows 64-bit debugging.