mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
trace: Add per-vCPU tracing states for events with the 'vcpu' property
Each vCPU gets a 'trace_dstate' bitmap to control the per-vCPU dynamic tracing state of events with the 'vcpu' property. Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
e1d6e0a4c0
commit
4815185902
13 changed files with 210 additions and 10 deletions
|
@ -345,6 +345,7 @@ static void cpu_common_initfn(Object *obj)
|
|||
qemu_mutex_init(&cpu->work_mutex);
|
||||
QTAILQ_INIT(&cpu->breakpoints);
|
||||
QTAILQ_INIT(&cpu->watchpoints);
|
||||
bitmap_zero(cpu->trace_dstate, TRACE_VCPU_EVENT_COUNT);
|
||||
}
|
||||
|
||||
static void cpu_common_finalize(Object *obj)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue