aboutsummaryrefslogtreecommitdiff
path: root/trace/control.c
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/control.c
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/control.c')
-rw-r--r--trace/control.c2
1 files changed, 0 insertions, 2 deletions
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) &&