From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18829 invoked by alias); 10 Jun 2010 17:36:54 -0000 Received: (qmail 18807 invoked by uid 22791); 10 Jun 2010 17:36:52 -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; Thu, 10 Jun 2010 17:36:46 +0000 Received: (qmail 12149 invoked from network); 10 Jun 2010 17:36:45 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 10 Jun 2010 17:36:45 -0000 From: Pedro Alves To: tromey@redhat.com Subject: Re: [gdbserver] x86 agent expression bytecode compiler (speed up conditional tracepoints) Date: Thu, 10 Jun 2010 17:36: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> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006101836.40834.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/msg00247.txt.bz2 On Thursday 10 June 2010 18:27:48, Tom Tromey wrote: > >>>>> "Pedro" == Pedro Alves writes: > > Pedro> This adds a bytecode compiler to the linux x86 ports of > Pedro> gdbserver, that turns agent expression bytecodes into > Pedro> native code. This greatly speeds up conditional tracepoints > Pedro> (by around an order of magnitude) that usually don't reference much > Pedro> more than a few variables (memory/registers), to around 100ns or > Pedro> less on a typical modern x86 box. > > This is awesome! I think it deserves a NEWS entry. Hmmmm. This is an implementation detail of gdbserver's fast tracepoints, and gdbserver fast tracepoints are new in 7.2. What would we announce? -- Pedro Alves