Received: from eggs.gnu.org ([2001:4830:134:3::10]:36765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYFjL-0004LS-HB for qemu-devel@nongnu.org; Tue, 23 Feb 2016 11:22:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYFjI-0007dP-A2 for qemu-devel@nongnu.org; Tue, 23 Feb 2016 11:22:31 -0500 Received: from roura.ac.upc.es ([147.83.33.10]:38214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYFjH-0007az-TK for qemu-devel@nongnu.org; Tue, 23 Feb 2016 11:22:28 -0500 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <145574488321.6637.3923094874117473534.stgit@localhost> <87k2lw4wn8.fsf@fimbulvetr.bsc.es> <87a8ms33if.fsf@linaro.org> Date: Tue, 23 Feb 2016 17:22:24 +0100 In-Reply-To: <87a8ms33if.fsf@linaro.org> ("Alex =?utf-8?Q?Benn=C3=A9e=22's?= message of "Mon, 22 Feb 2016 20:15:52 +0000") Message-ID: <87povn2y7z.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 v7 0/4] trace: Show vCPU info in guest code events List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex =?utf-8?Q?Benn=C3=A9e?= Cc: qemu-devel@nongnu.org, Stefan Hajnoczi , Eduardo Habkost Alex Benn=C3=A9e writes: > Llu=C3=ADs Vilanova writes: >> Llu=C3=ADs Vilanova writes: >>=20 >>> NOTE: This series should complete the framework for guest code tracing.= From >>> here on, other series can concurrently add actual events and improve the >>> guest code tracing features and performance (e.g., control tracing >>> independently on each vCPU). >>=20 >>> This series introduces the "vcpu" property for tracing events. This pro= perty >>> identifies events that are tied to a particular virtual CPU (e.g., exec= uting an >>> instruction). >>=20 >>> Events with this property have an implicit vcpu argument, which is show= n in the >>> trace. In the case of events executed at TCG translation time, two impl= icit >>> arguments are added: >>=20 >>> * The vCPU performing the code translation (shown in the translation-ti= me trace) >>> * The vCPU executing the translated code (shown in the execution-time t= race) >>=20 >>> Note that the "vcpu" and "tcg" properties are not merged into a single = one, >>> since events can be defined that relate to a vCPU but are never raised = from TCG >>> code (e.g., interrupts). >>=20 >> Hi, >>=20 >> I guess it's been a hectic time to integrate patches, but I haven't rece= ived a >> comment on the tracing part since v4. If possible, I'd like to send an a= ctual >> guest code event (vmem accesses) before the soft-freeze (once this serie= s is >> accepted). > I don't see a reason you couldn't post a v8 of this series including the > actual use. It would help to see it being used in the wild and the > maintainer doesn't have to accept the whole series straight away. [...] >>> Changes in v5 >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>=20 >>> * Rebase on 357e81c. >>> * Split from the previous (larger and more complex) v4 series. > Ahh I see it used to be. Perhaps maybe point to a public tree with the > example use? Ok, I'll send in parallel a separate series that exemplifies the general us= e of the "vcpu" and "tcg" properties (the last was already accepted long ago). But first, I'll send a new v8 of this series after testing events with all possible TCG type arguments. Thanks, Lluis