trace: Conditionally trace events based on their per-vCPU state
commit40b9cd25f789e02145fda5e1f3fde7e7dd9e3b61
authorLluís Vilanova <vilanova@ac.upc.edu>
Mon, 11 Jul 2016 10:53:46 +0000 (11 12:53 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 18 Jul 2016 17:23:12 +0000 (18 18:23 +0100)
treea88b3cbcc13588e5234bddaa84bb2790c743eab5
parent4815185902971c41fcdd700fa1fc3e1d9299900f
trace: Conditionally trace events based on their per-vCPU state

Events with the 'vcpu' property are conditionally emitted according to
their per-vCPU state. Other events are emitted normally based on their
global tracing state.

Note that the per-vCPU condition check applies to all tracing backends.

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
scripts/tracetool/backend/dtrace.py
scripts/tracetool/backend/ftrace.py
scripts/tracetool/backend/log.py
scripts/tracetool/backend/simple.py
scripts/tracetool/backend/ust.py
scripts/tracetool/format/h.py