diff options
author | Lluís Vilanova <vilanova@ac.upc.edu> | 2016-07-11 12:53:41 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2016-07-18 18:23:12 +0100 |
commit | 4815185902971c41fcdd700fa1fc3e1d9299900f (patch) | |
tree | fcdcdbb543e1ea9828e4e8820368675692f761f3 /linux-user | |
parent | e1d6e0a4c0e23b30501b887211f1fa6e0eb799a3 (diff) |
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>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index a053c22dee..462e820469 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -4810,6 +4810,7 @@ int main(int argc, char **argv, char **envp) } gdb_handlesig(cpu, 0); } + trace_init_vcpu_events(); cpu_loop(env); /* never exits */ return 0; |