]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/arm: Trace vCPU reset call
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 24 Sep 2025 16:32:54 +0000 (18:32 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 26 Sep 2025 10:12:22 +0000 (11:12 +0100)
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.c
target/arm/trace-events

index f8e6749ff9963f0ded34e53ce6aa3e8c4f9a9dc3..30e29fd3153a2a3bc2b6e3af6129750cf403c6b0 100644 (file)
@@ -227,6 +227,8 @@ static void arm_cpu_reset_hold(Object *obj, ResetType type)
     ARMCPUClass *acc = ARM_CPU_GET_CLASS(obj);
     CPUARMState *env = &cpu->env;
 
+    trace_arm_cpu_reset(arm_cpu_mp_affinity(cpu));
+
     if (acc->parent_phases.hold) {
         acc->parent_phases.hold(obj, type);
     }
index badff2b2e46a04e6192b804a81ec2288242a6bdb..72a2c7d0969d4a540812fc17684e296b91dbe072 100644 (file)
@@ -15,6 +15,7 @@ arm_gt_update_irq(int timer, int irqstate) "gt_update_irq: timer %d irqstate %d"
 kvm_arm_fixup_msi_route(uint64_t iova, uint64_t gpa) "MSI iova = 0x%"PRIx64" is translated into 0x%"PRIx64
 
 # cpu.c
+arm_cpu_reset(uint64_t mp_aff) "cpu %" PRIu64
 arm_emulate_firmware_reset(uint64_t mp_aff, unsigned target_el) "cpu %" PRIu64 " @EL%u"
 
 # arm-powerctl.c