Received: from eggs.gnu.org ([2001:4830:134:3::10]:47172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad0wb-0005Ps-0k for qemu-devel@nongnu.org; Mon, 07 Mar 2016 14:35:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ad0wX-0006TN-Lp for qemu-devel@nongnu.org; Mon, 07 Mar 2016 14:35:52 -0500 Received: from roura.ac.upc.es ([147.83.33.10]:53387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad0wX-0006TA-54 for qemu-devel@nongnu.org; Mon, 07 Mar 2016 14:35:49 -0500 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <145641255678.30097.2919142707547689749.stgit@localhost> Date: Mon, 07 Mar 2016 20:35:46 +0100 In-Reply-To: <145641255678.30097.2919142707547689749.stgit@localhost> (=?utf-8?Q?=22Llu=C3=ADs?= Vilanova"'s message of "Thu, 25 Feb 2016 16:02:41 +0100") Message-ID: <87mvqat71p.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH0/6] trace: Per-vCPU tracing states List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Eduardo Habkost , Stefan Hajnoczi There was not much discussion about this before the soft-freeze, but I'm pi= nging just in case (feel free to ignore until next window opens). Thanks, Lluis Llu=C3=ADs Vilanova writes: > NOTE: This series applies on top of "trace: Show vCPU info in guest code = events" > Provides per-vCPU dynamic controls of the tracing state of events with the > "vcpu" property. > A later series proposes an optimization where tracing code can be elided = for > dynamically disabled events (it uses multiple virtual TB caches optimized= for > the current tracing state of the executing vCPU). > Changes in v1 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > * Rebase on 1b16240. > * Split from v4 of "trace: Per-vCPU tracing states". > * Simplify event state initialization. > * Simplify logic deciding which events are treated by this patch (previou= sly, > execution-time events with 'tcg' and 'vcpu' properties; now it's simply= events > with the 'vcpu' property). > * Make tracing backends comply with the per-vCPU tracing state. > Signed-off-by: Llu=C3=ADs Vilanova > --- > Llu=C3=ADs Vilanova (6): > trace: Identify events with the 'vcpu' property > disas: Remove unused macro '_' > [trivial] trace: Cosmetic changes on fast-path tracing > trace: Add per-vCPU tracing states for events with the 'vcpu' prope= rty > trace: Conditionally trace events based on their per-vCPU state > trace: Add QAPI/QMP interfaces to query and control per-vCPU tracin= g state > Makefile.objs | 1=20 > bsd-user/main.c | 2=20 > disas/i386.c | 2=20 > include/disas/bfd.h | 1=20 > include/qom/cpu.h | 12 +++ > linux-user/main.c | 2=20 > monitor.c | 4 - > qapi/trace.json | 20 ++++- > qmp-commands.hx | 18 ++++ > qom/cpu.c | 1=20 > scripts/tracetool/backend/dtrace.py | 4 - > scripts/tracetool/backend/ftrace.py | 20 ++--- > scripts/tracetool/backend/log.py | 26 ++++-- > scripts/tracetool/backend/simple.py | 13 ++- > scripts/tracetool/backend/ust.py | 4 - > scripts/tracetool/format/events_c.py | 11 ++- > scripts/tracetool/format/events_h.py | 12 +++ > scripts/tracetool/format/h.py | 18 ++++ > trace/Makefile.objs | 26 ++++++ > trace/control-internal.h | 51 ++++++++++-- > trace/control-stub.c | 29 +++++++ > trace/control-target.c | 58 ++++++++++++++ > trace/control.c | 25 +++++- > trace/control.h | 78 ++++++++++++++++++- > trace/event-internal.h | 4 + > trace/qmp.c | 143 +++++++++++++++++++++++++++-= ------ > vl.c | 1=20 > 27 files changed, 501 insertions(+), 85 deletions(-) > create mode 100644 trace/control-stub.c > create mode 100644 trace/control-target.c > To: qemu-devel@nongnu.org > Cc: Stefan Hajnoczi > Cc: Eduardo Habkost > Cc: Eric Blake