Received: from eggs.gnu.org ([208.118.235.92]:59208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfGsu-0002PS-W8 for qemu-devel@nongnu.org; Sun, 02 Dec 2012 16:15:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TfGst-0007fp-OC for qemu-devel@nongnu.org; Sun, 02 Dec 2012 16:15:32 -0500 Received: from indium.canonical.com ([91.189.90.7]:44968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TfGst-0007ew-IN for qemu-devel@nongnu.org; Sun, 02 Dec 2012 16:15:31 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1TfGss-0008NP-HM for ; Sun, 02 Dec 2012 21:15:30 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 820912E8067 for ; Sun, 2 Dec 2012 21:15:30 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 02 Dec 2012 21:08:49 -0000 From: Daniil Troshkov <1085658@bugs.launchpad.net> Sender: bounces@canonical.com References: <20121202161653.4416.21917.malonedeb@wampee.canonical.com> Message-Id: <20121202210850.20247.60970.launchpad@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1085658] Re: exec, cpu log Reply-To: Bug 1085658 <1085658@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Changed in: qemu Assignee: (unassigned) =3D> Daniil Troshkov (troshkovdanil) ** Changed in: qemu Status: New =3D> Invalid -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1085658 Title: exec, cpu log Status in QEMU: Invalid Bug description: Hello! CPU_LOG_EXEC (and CPU_LOG_TB_CPU) does not work (i.e. not of each tb dump= ed) because tb links is occur. Patch: diff --git a/cpu-exec.c b/cpu-exec.c index 904ee73..509d50c 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -582,7 +582,11 @@ int cpu_exec(CPUArchState *env) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0/* see if we can patch the calling TB. When t= he TB =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0spans two pages, we cannot = safely do a direct =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0jump. */ - if (next_tb !=3D 0 && tb->page_addr[1] =3D=3D -1) { + if (next_tb !=3D 0 && tb->page_addr[1] =3D=3D -1 +#ifdef CONFIG_DEBUG_EXEC + && !qemu_loglevel_mask(CPU_LOG_EXEC | CPU_LOG_TB_CPU) +#endif + ) { =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0tb_add_jump((Translat= ionBlock *)(next_tb & ~3), next_tb & 3, tb); =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0} =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0spin_unlock(&tb_lock); To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1085658/+subscriptions