Re: [PATCH v2 6/8] migration: Dump sub-cmd name in loadvm_process_command tp

2021-12-21 Thread Peter Xu
On Tue, Dec 21, 2021 at 10:08:24AM +, David Edmondson wrote: > > @@ -22,7 +22,7 @@ loadvm_postcopy_handle_resume(void) "" > > loadvm_postcopy_ram_handle_discard(void) "" > > loadvm_postcopy_ram_handle_discard_end(void) "" > > loadvm_postcopy_ram_handle_discard_header(const char *ramid, uint1

Re: [PATCH v2 6/8] migration: Dump sub-cmd name in loadvm_process_command tp

2021-12-21 Thread David Edmondson
On Monday, 2021-12-20 at 16:53:53 +08, Peter Xu wrote: > It'll be easier to read the name rather than index of sub-cmd when debugging. > > Signed-off-by: Peter Xu > --- > migration/savevm.c | 3 ++- > migration/trace-events | 2 +- > 2 files changed, 3 insertions(+), 2 deletions(-) > > diff

[PATCH v2 6/8] migration: Dump sub-cmd name in loadvm_process_command tp

2021-12-20 Thread Peter Xu
It'll be easier to read the name rather than index of sub-cmd when debugging. Signed-off-by: Peter Xu --- migration/savevm.c | 3 ++- migration/trace-events | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/migration/savevm.c b/migration/savevm.c index 0bef031acb..7f7af6