mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
cpu: Better name cpu_single_step() trace event
cpu_single_step() is not related to breakpoints. Rename the trace event. Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com> Message-ID: <20260705215729.62196-30-philmd@oss.qualcomm.com>
This commit is contained in:
@@ -31,6 +31,8 @@
|
|||||||
void cpu_single_step(CPUState *cpu, int enabled)
|
void cpu_single_step(CPUState *cpu, int enabled)
|
||||||
{
|
{
|
||||||
if (cpu->singlestep_enabled != enabled) {
|
if (cpu->singlestep_enabled != enabled) {
|
||||||
|
trace_cpu_change_singlestep_flags(cpu->cpu_index,
|
||||||
|
cpu->singlestep_enabled, enabled);
|
||||||
cpu->singlestep_enabled = enabled;
|
cpu->singlestep_enabled = enabled;
|
||||||
|
|
||||||
#if !defined(CONFIG_USER_ONLY)
|
#if !defined(CONFIG_USER_ONLY)
|
||||||
@@ -39,8 +41,6 @@ void cpu_single_step(CPUState *cpu, int enabled)
|
|||||||
ops->update_guest_debug(cpu);
|
ops->update_guest_debug(cpu);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
trace_breakpoint_singlestep(cpu->cpu_index, enabled);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
# cpu.c
|
# cpu.c
|
||||||
breakpoint_insert(int cpu_index, uint64_t pc, int flags) "cpu=%d pc=0x%" PRIx64 " flags=0x%x"
|
breakpoint_insert(int cpu_index, uint64_t pc, int flags) "cpu=%d pc=0x%" PRIx64 " flags=0x%x"
|
||||||
breakpoint_remove(int cpu_index, uint64_t pc, int flags) "cpu=%d pc=0x%" PRIx64 " flags=0x%x"
|
breakpoint_remove(int cpu_index, uint64_t pc, int flags) "cpu=%d pc=0x%" PRIx64 " flags=0x%x"
|
||||||
breakpoint_singlestep(int cpu_index, int enabled) "cpu=%d enable=%d"
|
cpu_change_singlestep_flags(int cpu_index, int old_flags, int new_flags) "cpu=%d flags=0x%x -> 0x%x"
|
||||||
cpu_exec_start(int cpu_index) "cpu=%d"
|
cpu_exec_start(int cpu_index) "cpu=%d"
|
||||||
cpu_exec_end(int cpu_index) "cpu=%d"
|
cpu_exec_end(int cpu_index) "cpu=%d"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user