summaryrefslogtreecommitdiffstats
path: root/debug/risc-v-gsp-rm-vm/qemu
diff options
context:
space:
mode:
Diffstat (limited to 'debug/risc-v-gsp-rm-vm/qemu')
-rw-r--r--debug/risc-v-gsp-rm-vm/qemu/README.md6
-rw-r--r--debug/risc-v-gsp-rm-vm/qemu/greeneye_trace.c10
-rwxr-xr-xdebug/risc-v-gsp-rm-vm/qemu/launch.sh4
3 files changed, 10 insertions, 10 deletions
diff --git a/debug/risc-v-gsp-rm-vm/qemu/README.md b/debug/risc-v-gsp-rm-vm/qemu/README.md
index a6be332..fede60e 100644
--- a/debug/risc-v-gsp-rm-vm/qemu/README.md
+++ b/debug/risc-v-gsp-rm-vm/qemu/README.md
@@ -1,4 +1,4 @@
-# green-eye QEMU helpers
+# risc-v-gsp-rm-debugger QEMU helpers
`greeneye_trace.c` is an optional QEMU TCG plugin that records **every**
instruction (opt-in) and every memory access as JSONL:
@@ -10,9 +10,9 @@ qemu-system-riscv64 -machine virt -m 256M -display none -serial file:/tmp/uart.l
-plugin qemu/greeneye-trace.so,path=/tmp/ge-trace.jsonl,start=0x80000000,end=0x80010000,exec=off
```
-This observes more than green-eye's gdbstub layer can: memory accesses
+This observes more than risc-v-gsp-rm-debugger's gdbstub layer can: memory accesses
between stops, instruction coverage, exact access sizes. Use it when you need
-a *complete* memory-activity map; use green-eye hooks/watchpoints when you
+a *complete* memory-activity map; use risc-v-gsp-rm-debugger hooks/watchpoints when you
need semantics (arguments, returns, structure decoding).
The plugin header `qemu-plugin.h` is vendored from QEMU v8.2.2
diff --git a/debug/risc-v-gsp-rm-vm/qemu/greeneye_trace.c b/debug/risc-v-gsp-rm-vm/qemu/greeneye_trace.c
index a20748a..f69ec07 100644
--- a/debug/risc-v-gsp-rm-vm/qemu/greeneye_trace.c
+++ b/debug/risc-v-gsp-rm-vm/qemu/greeneye_trace.c
@@ -1,9 +1,9 @@
/*
- * green-eye TCG trace plugin - full instruction/memory activity recording.
+ * risc-v-gsp-rm-debugger TCG trace plugin - full instruction/memory activity recording.
*
* This is the "complete map" upgrade from stop-based observation: QEMU calls
* the plugin for every translated instruction and every memory access. Output
- * is JSONL (one object per line), ready to be folded into a green-eye session:
+ * is JSONL (one object per line), ready to be folded into a risc-v-gsp-rm-debugger session:
*
* {"t":"exec","vcpu":0,"pc":"0x80000194"}
* {"t":"write","vcpu":0,"addr":"0x80000850","size":8}
@@ -93,7 +93,7 @@ static void plugin_exit(qemu_plugin_id_t id, void *userdata)
fclose(trace_fp);
trace_fp = NULL;
}
- qemu_plugin_outs("green-eye trace complete\n");
+ qemu_plugin_outs("risc-v-gsp-rm-debugger trace complete\n");
}
QEMU_PLUGIN_EXPORT int qemu_plugin_install(qemu_plugin_id_t id,
@@ -118,11 +118,11 @@ QEMU_PLUGIN_EXPORT int qemu_plugin_install(qemu_plugin_id_t id,
trace_fp = fopen(path, "w");
if (!trace_fp) {
- qemu_plugin_outs("green-eye: cannot open trace output\n");
+ qemu_plugin_outs("risc-v-gsp-rm-debugger: cannot open trace output\n");
return -1;
}
qemu_plugin_register_vcpu_tb_trans_cb(id, vcpu_tb_trans);
qemu_plugin_register_atexit_cb(id, plugin_exit, NULL);
- qemu_plugin_outs("green-eye trace plugin armed\n");
+ qemu_plugin_outs("risc-v-gsp-rm-debugger trace plugin armed\n");
return 0;
}
diff --git a/debug/risc-v-gsp-rm-vm/qemu/launch.sh b/debug/risc-v-gsp-rm-vm/qemu/launch.sh
index 54460db..bca0d17 100755
--- a/debug/risc-v-gsp-rm-vm/qemu/launch.sh
+++ b/debug/risc-v-gsp-rm-vm/qemu/launch.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-# Start a green-eye target and keep it alive for `greeneye attach`.
+# Start a risc-v-gsp-rm-debugger target and keep it alive for `greeneye attach`.
set -euo pipefail
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
-exec "$HERE/../greeneye.sh" launch "$@"
+exec "$HERE/../risc-v-gsp-rm-debugger.sh" launch "$@"