From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn54n-0006SW-Et for qemu-devel@nongnu.org; Fri, 16 Oct 2015 09:29:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn54j-00037j-F6 for qemu-devel@nongnu.org; Fri, 16 Oct 2015 09:29:41 -0400 Received: from mail-vk0-f48.google.com ([209.85.213.48]:33388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn54j-00037Y-CC for qemu-devel@nongnu.org; Fri, 16 Oct 2015 09:29:37 -0400 Received: by vkaw128 with SMTP id w128so68126728vka.0 for ; Fri, 16 Oct 2015 06:29:37 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20151016132611.GB32625@redhat.com> 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: Peter Maydell Date: Fri, 16 Oct 2015 14:29:17 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 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: "Daniel P. Berrange" Cc: Pavel Butsykin , Markus Armbruster , QEMU Developers , Luiz Capitulino , Stefan Hajnoczi , "Denis V. Lunev" , Paolo Bonzini On 16 October 2015 at 14:26, Daniel P. Berrange wrote: >> It's also very useful to be able to enable whole *classes* of >> tracing (like "tell me whenever my guest OS does something dumb"); >> does the tracepoint code have any support for this? > > 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. -- PMM