diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-02-05 18:35:26 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-02-05 18:35:26 +0100 |
commit | 724d077860e103631605f09a7de35e3ad8796f56 (patch) | |
tree | f7d94c536d3c70f62fb548c95f1835091801a9ff /src/tools/qemu.md | |
parent | 728d263753b998b8944a66eec1be0e743961fa1c (diff) | |
download | notes-724d077860e103631605f09a7de35e3ad8796f56.tar.gz notes-724d077860e103631605f09a7de35e3ad8796f56.zip |
qemu: cheap insn trace example
Diffstat (limited to 'src/tools/qemu.md')
-rw-r--r-- | src/tools/qemu.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tools/qemu.md b/src/tools/qemu.md index 2a833e4..4351435 100644 --- a/src/tools/qemu.md +++ b/src/tools/qemu.md @@ -269,6 +269,14 @@ qemu-system-x86_64 \ ``` Instructions to build a minimal [`Kernel` and `initrd`][blog-qemu-dbg]. +## Appendix: Cheap instruction tracer +```make +{{ #include qemu-src/Makefile }} +``` +```x86asm +{{ #include qemu-src/test.s }} +``` + ## References - [QEMU USB][doc-qemu-usb] |