From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn71P-0005xV-IK for qemu-devel@nongnu.org; Fri, 16 Oct 2015 11:34:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn71K-0006lQ-JY for qemu-devel@nongnu.org; Fri, 16 Oct 2015 11:34:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn71K-0006lM-EQ for qemu-devel@nongnu.org; Fri, 16 Oct 2015 11:34:14 -0400 References: <1444894224-9542-1-git-send-email-den@openvz.org> <1444894224-9542-3-git-send-email-den@openvz.org> <87oafzdmck.fsf_-_@blackfin.pond.sub.org> <5620F213.1010908@redhat.com> <20151016132611.GB32625@redhat.com> <5620FBF2.60304@redhat.com> <562106F3.7000000@redhat.com> From: Paolo Bonzini Message-ID: <56211778.8050708@redhat.com> Date: Fri, 16 Oct 2015 17:27:52 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] What's the intended use of log.h logging? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Pavel Butsykin , Markus Armbruster , QEMU Developers , Luiz Capitulino , Stefan Hajnoczi , "Denis V. Lunev" On 16/10/2015 16:31, Peter Maydell wrote: > > I hadn't thought about levels, but honestly when I use KVM tracing (w= hich > > is often measured in tens of megabytes per run) I don't care. > > In a lot of cases, especially with the TCG logging, not enabling > voluminous tracing is really important because if you turn it all > on then the system is way too slow (and can behave differently > as a result), and generates gigabytes of trace output. (-d exec > and -d cpu will do this, for instance.) Yes, but device models are going to generate orders of magnitude smaller traces than the CPU. Since I'm not proposing to drop -d together, but rather to integrate tracing with it, we can cross that river when we reach it. Paolo