[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: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] What's the intended use of log.h logging? |
Date: |
Fri, 16 Oct 2015 14:48:19 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 16/10/2015 14:33, Markus Armbruster wrote:
> Looks like this is basically TCG with a couple of random LOG_UNIMP
> and LOG_GUEST_ERROR thrown in. It's definitely not a general purpose
> QEMU log in its current state.
I think these could become error_report.
Some others (e.g. LOG_IOPORT) can be removed.
LOG_MMU seems to be mostly a ppc thing, could also become a tracepoint.
Likewise for LOG_PCALL and perhaps LOG_INT.
However, we should at the same time add some functionality to enable
tracepoints more easily, and perhaps enable the stderr tracing backend
by default upstream (downstream can enable stderr+stap; or if they care
a lot about performance disable stderr in favor of stap only).
Paolo
- [Qemu-devel] [PATCH 0/3] QEMU logging improvements, Denis V. Lunev, 2015/10/15
- [Qemu-devel] [PATCH 2/3] log: report hmp/qmp command and qmp event, Denis V. Lunev, 2015/10/15
- [Qemu-devel] What's the intended use of log.h logging? (was: [PATCH 2/3] log: report hmp/qmp command and qmp event), Markus Armbruster, 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