[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] trace: add syslog tracing backend
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2] trace: add syslog tracing backend |
Date: |
Mon, 8 Aug 2016 16:33:47 +0100 |
User-agent: |
Mutt/1.6.2 (2016-07-01) |
On Thu, Aug 04, 2016 at 02:44:14PM +0100, Paul Durrant wrote:
> This patch adds a tracing backend which sends output using syslog().
> The syslog backend is limited to POSIX compliant systems.
>
> openlog() is called with facility set to LOG_DAEMON, with the LOG_PID
> option. Trace events are logged at level LOG_INFO.
>
> Signed-off-by: Paul Durrant <address@hidden>
> Cc: Stefan Hajnoczi <address@hidden>
> ---
>
> v2:
> - Added a section to docs/tracing.txt
> - Re-ordered header inclusion in generated code
> ---
> configure | 19 ++++++++++++++++
> docs/tracing.txt | 12 ++++++++++
> scripts/tracetool/backend/syslog.py | 45
> +++++++++++++++++++++++++++++++++++++
> trace/control.c | 7 ++++++
> 4 files changed, 83 insertions(+)
> create mode 100644 scripts/tracetool/backend/syslog.py
Thanks, applied to my tracing-next tree:
https://github.com/stefanha/qemu/commits/tracing-next
Stefan
signature.asc
Description: PGP signature