Skip to content

Commit ded9700

Browse files
philmdpm215
authored andcommitted
target/arm: Trace vCPU reset call
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>
1 parent e733dfc commit ded9700

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

target/arm/cpu.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ static void arm_cpu_reset_hold(Object *obj, ResetType type)
227227
ARMCPUClass *acc = ARM_CPU_GET_CLASS(obj);
228228
CPUARMState *env = &cpu->env;
229229

230+
trace_arm_cpu_reset(arm_cpu_mp_affinity(cpu));
231+
230232
if (acc->parent_phases.hold) {
231233
acc->parent_phases.hold(obj, type);
232234
}

target/arm/trace-events

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ arm_gt_update_irq(int timer, int irqstate) "gt_update_irq: timer %d irqstate %d"
1515
kvm_arm_fixup_msi_route(uint64_t iova, uint64_t gpa) "MSI iova = 0x%"PRIx64" is translated into 0x%"PRIx64
1616

1717
# cpu.c
18+
arm_cpu_reset(uint64_t mp_aff) "cpu %" PRIu64
1819
arm_emulate_firmware_reset(uint64_t mp_aff, unsigned target_el) "cpu %" PRIu64 " @EL%u"
1920

2021
# arm-powerctl.c

0 commit comments

Comments
 (0)