[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/4] memory: Print region priority
From: |
Avi Kivity |
Subject: |
[Qemu-devel] [PATCH 2/4] memory: Print region priority |
Date: |
Sun, 2 Oct 2011 16:32:17 +0200 |
From: Jan Kiszka <address@hidden>
Useful to discover eclipses.
Signed-off-by: Jan Kiszka <address@hidden>
Signed-off-by: Avi Kivity <address@hidden>
---
memory.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/memory.c b/memory.c
index a85d118..eae67be 100644
--- a/memory.c
+++ b/memory.c
@@ -1316,18 +1316,20 @@ static void mtree_print_mr(fprintf_function mon_printf,
void *f,
ml->printed = false;
QTAILQ_INSERT_TAIL(print_queue, ml, queue);
}
- mon_printf(f, TARGET_FMT_plx "-" TARGET_FMT_plx " : alias %s @%s "
+ mon_printf(f, TARGET_FMT_plx "-" TARGET_FMT_plx " (prio %d): alias %s
@%s "
TARGET_FMT_plx "-" TARGET_FMT_plx "\n",
base + mr->addr,
base + mr->addr + (target_phys_addr_t)mr->size - 1,
+ mr->priority,
mr->name,
mr->alias->name,
mr->alias_offset,
mr->alias_offset + (target_phys_addr_t)mr->size - 1);
} else {
- mon_printf(f, TARGET_FMT_plx "-" TARGET_FMT_plx " : %s\n",
+ mon_printf(f, TARGET_FMT_plx "-" TARGET_FMT_plx " (prio %d): %s\n",
base + mr->addr,
base + mr->addr + (target_phys_addr_t)mr->size - 1,
+ mr->priority,
mr->name);
}
QTAILQ_FOREACH(submr, &mr->subregions, subregions_link) {
--
1.7.6.3