summaryrefslogtreecommitdiffstats
path: root/trace-events
diff options
context:
space:
mode:
authorRichard Henderson2021-07-01 17:10:53 +0200
committerRichard Henderson2021-07-10 06:31:11 +0200
commitad1a706f386c2281adb0b09257d892735e405834 (patch)
treee3849e93dbb06d460d0e054cb698357fd15f64b8 /trace-events
parenttcg: Remove TCG_TARGET_HAS_goto_ptr (diff)
downloadqemu-ad1a706f386c2281adb0b09257d892735e405834.tar.gz
qemu-ad1a706f386c2281adb0b09257d892735e405834.tar.xz
qemu-ad1a706f386c2281adb0b09257d892735e405834.zip
cpu: Add breakpoint tracepoints
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'trace-events')
-rw-r--r--trace-events5
1 files changed, 5 insertions, 0 deletions
diff --git a/trace-events b/trace-events
index 765fe251e6..c4cca29939 100644
--- a/trace-events
+++ b/trace-events
@@ -25,6 +25,11 @@
#
# The <format-string> should be a sprintf()-compatible format string.
+# cpu.c
+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_singlestep(int cpu_index, int enabled) "cpu=%d enable=%d"
+
# dma-helpers.c
dma_blk_io(void *dbs, void *bs, int64_t offset, bool to_dev) "dbs=%p bs=%p offset=%" PRId64 " to_dev=%d"
dma_aio_cancel(void *dbs) "dbs=%p"