From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baKT9-0001sX-VC for qemu-devel@nongnu.org; Thu, 18 Aug 2016 06:22:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1baKT5-0006Jm-Oe for qemu-devel@nongnu.org; Thu, 18 Aug 2016 06:22:38 -0400 Received: from roura.ac.upc.es ([147.83.33.10]:35815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baKT5-0006J5-EA for qemu-devel@nongnu.org; Thu, 18 Aug 2016 06:22:35 -0400 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <147041636348.2523.2954972609232949598.stgit@fimbulvetr.bsc.es> <20160818094720.GA4850@stefanha-x1.localdomain> Date: Thu, 18 Aug 2016 12:22:18 +0200 In-Reply-To: <20160818094720.GA4850@stefanha-x1.localdomain> (Stefan Hajnoczi's message of "Thu, 18 Aug 2016 10:47:20 +0100") Message-ID: <87wpjeqsv9.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 0/6] hypertrace: Lightweight guest-to-QEMU trace channel List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org, Steven Rostedt , Luiz Capitulino , lttng-dev@lists.lttng.org, Masami Hiramatsu , Stefan Hajnoczi Stefan Hajnoczi writes: > On Fri, Aug 05, 2016 at 06:59:23PM +0200, Llu=C3=ADs Vilanova wrote: >> The hypertrace channel allows guest code to emit events in QEMU (the hos= t) using >> its tracing infrastructure (see "docs/trace.txt"). This works in both 's= ystem' >> and 'user' modes. That is, hypertrace is to tracing, what hypercalls are= to >> system calls. >>=20 >> You can use this to emit an event on both guest and QEMU (host) traces t= o easily >> synchronize or correlate them. You could also modify you guest's tracing= system >> to emit all events through the hypertrace channel, providing a unified a= nd fully >> synchronized trace log. Another use case is timing the performance of gu= est code >> when optimizing TCG (QEMU traces have a timestamp). >>=20 >> See first commit for a full description. >>=20 >> Signed-off-by: Llu=C3=ADs Vilanova >> --- > CCing Steven Rostedt, Masami Hiramatsu, Luiz Capitulino, and LTTng folks > who have all looked into host/guest tracing solutions. [...] Oh, I wasn't aware of that. I'm certainly interested in collaborating. Cheers, Lluis