aboutsummaryrefslogtreecommitdiff
path: root/memory.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-09-11 20:22:05 +0000
committerAvi Kivity <avi@redhat.com>2011-10-02 16:27:13 +0200
commit314e298735903035ba2b7b0f3cf39981f4171546 (patch)
tree51a57705a5d1eaab97529863de5f5d40b9483294 /memory.h
parent3917149d96cfa5f619de770af6059f37b6e1df77 (diff)
memory: simple memory tree printer
Add a monitor command 'info mtree' to show the memory hierarchy much like /proc/iomem in Linux. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'memory.h')
-rw-r--r--memory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/memory.h b/memory.h
index e93e65a4f2..d5b47da839 100644
--- a/memory.h
+++ b/memory.h
@@ -501,6 +501,8 @@ void memory_region_transaction_begin(void);
*/
void memory_region_transaction_commit(void);
+void mtree_info(fprintf_function mon_printf, void *f);
+
#endif
#endif