aboutsummaryrefslogtreecommitdiff
path: root/trace
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2023-05-26 17:53:52 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2023-06-01 11:05:05 -0400
commit78f314cf8349a76a757dbcc4da88bf9a0b20d3a1 (patch)
tree10336fcd48979b4a0ab8fb6ee3b638adeeffc250 /trace
parent2e2097b495990b198c45dd8ecde8cc58ae3fcd1f (diff)
downloadqemu-78f314cf8349a76a757dbcc4da88bf9a0b20d3a1.zip
qemu-78f314cf8349a76a757dbcc4da88bf9a0b20d3a1.tar.gz
qemu-78f314cf8349a76a757dbcc4da88bf9a0b20d3a1.tar.bz2
trace-events: remove the remaining vcpu trace events
While these are all in helper functions being designated vcpu events complicates the removal of the dynamic vcpu state code. TCG plugins allow you to instrument vcpu_[init|exit|idle]. We rename cpu_reset and make it a normal trace point. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-id: 20230526165401.574474-3-alex.bennee@linaro.org Message-Id: <20230524133952.3971948-3-alex.bennee@linaro.org> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'trace')
-rw-r--r--trace/control-target.c1
-rw-r--r--trace/control.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/trace/control-target.c b/trace/control-target.c
index c0c1e23..a107529 100644
--- a/trace/control-target.c
+++ b/trace/control-target.c
@@ -144,5 +144,4 @@ void trace_init_vcpu(CPUState *vcpu)
}
}
}
- trace_guest_cpu_enter(vcpu);
}
diff --git a/trace/control.c b/trace/control.c
index 6c77cc6..d24af91 100644
--- a/trace/control.c
+++ b/trace/control.c
@@ -277,8 +277,6 @@ void trace_fini_vcpu(CPUState *vcpu)
TraceEventIter iter;
TraceEvent *ev;
- trace_guest_cpu_exit(vcpu);
-
trace_event_iter_init_all(&iter);
while ((ev = trace_event_iter_next(&iter)) != NULL) {
if (trace_event_is_vcpu(ev) &&