[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] What's the intended use of log.h logging?
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] What's the intended use of log.h logging? |
Date: |
Mon, 19 Oct 2015 14:54:16 +0100 |
On 19 October 2015 at 14:17, Markus Armbruster <address@hidden> wrote:
> Peter Maydell <address@hidden> writes:
>> 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.)
>
> This is at least as much an argument for use of tracing as against it.
> Tracing is a lot more flexible than log.h, and with the right backend,
> it's much more efficient, too.
>
> If the appropriate trace patterns turn out to be too hard to remember,
> we can provide canned trace patterns with names that are easy to
> remember.
>
> -d could become sugar for a suitable trace patterns.
I don't object to the use of tracing under the hood, as long as
the user-facing experience remains as good as what we have for -d
at the moment (in terms of it being always present, working the
same for everybody, easily discoverable and simple to use).
thanks
-- PMM
- Re: [Qemu-devel] What's the intended use of log.h logging?, (continued)
- Re: [Qemu-devel] What's the intended use of log.h logging?, Denis V. Lunev, 2015/10/16
- Re: [Qemu-devel] What's the intended use of log.h logging?, Daniel P. Berrange, 2015/10/16
- Re: [Qemu-devel] What's the intended use of log.h logging?, Peter Maydell, 2015/10/16
- Re: [Qemu-devel] What's the intended use of log.h logging?, Paolo Bonzini, 2015/10/16
- Re: [Qemu-devel] What's the intended use of log.h logging?, Peter Maydell, 2015/10/16
- Re: [Qemu-devel] What's the intended use of log.h logging?, Paolo Bonzini, 2015/10/16
- Re: [Qemu-devel] What's the intended use of log.h logging?, Peter Maydell, 2015/10/16
- Re: [Qemu-devel] What's the intended use of log.h logging?, Paolo Bonzini, 2015/10/16
- Re: [Qemu-devel] What's the intended use of log.h logging?, Markus Armbruster, 2015/10/19
- Re: [Qemu-devel] What's the intended use of log.h logging?, Paolo Bonzini, 2015/10/19
- Re: [Qemu-devel] What's the intended use of log.h logging?,
Peter Maydell <=
- Re: [Qemu-devel] What's the intended use of log.h logging? (was: [PATCH 2/3] log: report hmp/qmp command and qmp event), Peter Maydell, 2015/10/16
- Re: [Qemu-devel] What's the intended use of log.h logging?, Markus Armbruster, 2015/10/19
- Re: [Qemu-devel] What's the intended use of log.h logging?, Peter Maydell, 2015/10/19
- Re: [Qemu-devel] What's the intended use of log.h logging?, Dr. David Alan Gilbert, 2015/10/19
- Re: [Qemu-devel] What's the intended use of log.h logging?, Dr. David Alan Gilbert, 2015/10/19
- Re: [Qemu-devel] What's the intended use of log.h logging?, Kevin Wolf, 2015/10/20
- Re: [Qemu-devel] What's the intended use of log.h logging? (was: [PATCH 2/3] log: report hmp/qmp command and qmp event), Alex Bennée, 2015/10/16
- Re: [Qemu-devel] What's the intended use of log.h logging?, Markus Armbruster, 2015/10/19
- Re: [Qemu-devel] What's the intended use of log.h logging?, Peter Maydell, 2015/10/19
- Re: [Qemu-devel] What's the intended use of log.h logging? (was: [PATCH 2/3] log: report hmp/qmp command and qmp event), Stefan Hajnoczi, 2015/10/21