diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-02-25 21:06:20 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-03-03 09:36:38 -1000 |
commit | 6f83e277eb9fa56c89fb25903834a21725655920 (patch) | |
tree | 32966b765823ce7ab61b1852acef9561eb5a99f1 /target/nios2/trace-events | |
parent | 1fb877a467014ec5a31cac63b067a38c13c684f0 (diff) | |
download | qemu-6f83e277eb9fa56c89fb25903834a21725655920.zip qemu-6f83e277eb9fa56c89fb25903834a21725655920.tar.gz qemu-6f83e277eb9fa56c89fb25903834a21725655920.tar.bz2 |
target/nios2: Replace MMU_LOG with tracepoints
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/nios2/trace-events')
-rw-r--r-- | target/nios2/trace-events | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/target/nios2/trace-events b/target/nios2/trace-events new file mode 100644 index 0000000..07f1f0a --- /dev/null +++ b/target/nios2/trace-events @@ -0,0 +1,10 @@ +# mmu.c +nios2_mmu_translate_miss(uint32_t vaddr, uint32_t pid, uint32_t index, uint32_t tag) "mmu_translate: MISS vaddr=0x%08x pid=%u TLB[%u] tag=0x%08x" +nios2_mmu_translate_hit(uint32_t vaddr, uint32_t pid, uint32_t index, uint32_t paddr, uint32_t prot) "mmu_translate: HIT vaddr=0x%08x pid=%u TLB[%u] paddr=0x%08x prot=0x%x" + +nios2_mmu_flush_pid_miss(uint32_t pid, uint32_t index, uint32_t vaddr) "mmu_flush: MISS pid=%u TLB[%u] tag=0x%08x" +nios2_mmu_flush_pid_hit(uint32_t pid, uint32_t index, uint32_t vaddr) "mmu_flush: HIT pid=%u TLB[%u] vaddr=0x%08x" + +nios2_mmu_write_tlbacc(uint32_t ig, char c, char r, char w, char x, char g, uint32_t pfn) "mmu_write_tlbacc: ig=0x%02x flags=%c%c%c%c%c pfn=0x%08x" +nios2_mmu_write_tlbmisc(uint32_t way, char r, char w, char t, char b, char p, char d, uint32_t pid) "mmu_write_tlbmisc: way=0x%x flags=%c%c%c%c%c%c pid=%u" +nios2_mmu_write_pteaddr(uint32_t ptb, uint32_t vpn) "mmu_write_pteaddr: ptbase=0x%03x vpn=0x%05x" |