mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
e7ca549fc8
commit
fc051ae6c4
4 changed files with 70 additions and 15 deletions
|
@ -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,
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue