aboutsummaryrefslogtreecommitdiff
path: root/hmp-commands-info.hx
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2018-06-04 13:25:11 +1000
committerPaolo Bonzini <pbonzini@redhat.com>2018-06-28 19:05:36 +0200
commitfc051ae6c42216ca87145106b509fa3bdfa98e00 (patch)
tree1dae9df64f67bf7e8909842294b7825b0469b2f8 /hmp-commands-info.hx
parente7ca549fc8caf9b1c79814f3854622448815f2bf (diff)
memory/hmp: Print owners/parents in "info mtree"
This adds owners/parents (which are the same, just occasionally owner==NULL) printing for memory regions; a new '-o' flag enabled new output. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Message-Id: <20180604032511.6980-1-aik@ozlabs.ru> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hmp-commands-info.hx')
-rw-r--r--hmp-commands-info.hx7
1 files changed, 4 insertions, 3 deletions
diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
index 6db3457a78..59bdd8f713 100644
--- a/hmp-commands-info.hx
+++ b/hmp-commands-info.hx
@@ -253,10 +253,11 @@ ETEXI
{
.name = "mtree",
- .args_type = "flatview:-f,dispatch_tree:-d",
- .params = "[-f][-d]",
+ .args_type = "flatview:-f,dispatch_tree:-d,owner:-o",
+ .params = "[-f][-d][-o]",
.help = "show memory tree (-f: dump flat view for address spaces;"
- "-d: dump dispatch tree, valid with -f only)",
+ "-d: dump dispatch tree, valid with -f only);"
+ "-o: dump region owners/parents",
.cmd = hmp_info_mtree,
},