From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn55h-0007YE-HQ for qemu-devel@nongnu.org; Fri, 16 Oct 2015 09:30:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn55b-0003VR-Pn for qemu-devel@nongnu.org; Fri, 16 Oct 2015 09:30:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn55b-0003VD-KC for qemu-devel@nongnu.org; Fri, 16 Oct 2015 09:30:31 -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> From: Paolo Bonzini Message-ID: <5620FBF2.60304@redhat.com> Date: Fri, 16 Oct 2015 15:30:26 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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 , "Daniel P. Berrange" Cc: Pavel Butsykin , Markus Armbruster , QEMU Developers , Luiz Capitulino , Stefan Hajnoczi , "Denis V. Lunev" On 16/10/2015 15:29, Peter Maydell wrote: >> > You can use globs in tracepoint names you want to enable. So if the >> > tracepoints have structured / well considerd name prefixes, you can >> > enable classses at once. > ...but in practice we don't really do that very much, and we > don't have documented lists of classes which we support either. > Guessing what might be a plausible glob of tracepoint names to > enable seems like a definite step back from the formalized > logging categories we have currently. We could add "-d trace:help" to list valid tracepoint names. Paolo