qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 0a8524: trace: add syslog tracing backend


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 0a8524: trace: add syslog tracing backend
Date: Tue, 06 Sep 2016 06:00:05 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 0a852417564bc59441dc09509beacf7b49bc1e57
      
https://github.com/qemu/qemu/commit/0a852417564bc59441dc09509beacf7b49bc1e57
  Author: Paul Durrant <address@hidden>
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
    M configure
    M docs/tracing.txt
    A scripts/tracetool/backend/syslog.py
    M trace/control.c

  Log Message:
  -----------
  trace: add syslog tracing backend

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>
Message-id: address@hidden
Cc: Stefan Hajnoczi <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: a4d50b1d2a6c07a13fb8401a0c3b471f25b44b2a
      
https://github.com/qemu/qemu/commit/a4d50b1d2a6c07a13fb8401a0c3b471f25b44b2a
  Author: Lluís Vilanova <address@hidden>
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
    M stubs/trace-control.c
    M trace/control-target.c
    M trace/control.c
    M trace/control.h
    M trace/event-internal.h

  Log Message:
  -----------
  trace: Remove 'trace_events_dstate_init'

Removes the event state array used for early initialization. Since only
events with the "vcpu" property need a late initialization fixup,
threats their initialization specially.

Assumes that the user won't touch the state of "vcpu" events between
early and late initialization (e.g., through QMP).

Signed-off-by: Lluís Vilanova <address@hidden>
Message-id: address@hidden
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 8eb1b9db559e243043aaeac3a0aa97e1f4a403c4
      
https://github.com/qemu/qemu/commit/8eb1b9db559e243043aaeac3a0aa97e1f4a403c4
  Author: Lluís Vilanova <address@hidden>
  Date:   2016-09-05 (Mon, 05 Sep 2016)

  Changed paths:
    M stubs/trace-control.c
    M trace/control-target.c

  Log Message:
  -----------
  trace: Avoid implicit bool->integer conversions

An explicit if/else is clearer than arithmetic assuming #true is 1,
while the compiler should be able to generate just as optimal code.

Signed-off-by: Lluís Vilanova <address@hidden>
Message-id: address@hidden
Signed-off-by: Stefan Hajnoczi <address@hidden>


  Commit: 30e7d092b26146eb2abb77e0a0952aea012e36bf
      
https://github.com/qemu/qemu/commit/30e7d092b26146eb2abb77e0a0952aea012e36bf
  Author: Peter Maydell <address@hidden>
  Date:   2016-09-06 (Tue, 06 Sep 2016)

  Changed paths:
    M configure
    M docs/tracing.txt
    A scripts/tracetool/backend/syslog.py
    M stubs/trace-control.c
    M trace/control-target.c
    M trace/control.c
    M trace/control.h
    M trace/event-internal.h

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' 
into staging

# gpg: Signature made Mon 05 Sep 2016 20:41:04 BST
# gpg:                using RSA key 0x9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <address@hidden>"
# gpg:                 aka "Stefan Hajnoczi <address@hidden>"
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8

* remotes/stefanha/tags/tracing-pull-request:
  trace: Avoid implicit bool->integer conversions
  trace: Remove 'trace_events_dstate_init'
  trace: add syslog tracing backend

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/1fd66154fdf8...30e7d092b261

reply via email to

[Prev in Thread] Current Thread [Next in Thread]