migration: Trace improvements
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 14 Jun 2016 09:36:26 +0000 (10:36 +0100)
committerAmit Shah <amit.shah@redhat.com>
Fri, 17 Jun 2016 12:53:53 +0000 (18:23 +0530)
commit023ad1a6e9296470d8fd81db3bf0379057fc8994
tree64923406016a35e0579002162567031908d37dd7
parent4d885131574ba530e48ef90d5c0ca4dffc9c3759
migration: Trace improvements

A couple of improvements to tracing that have come out of helping
people with migration problems:
  * vmstate_n_elems trace the count/name - for when you have problems
    getting array counts right
  * vmstate_subsection_load_bad - add the idstr, for when you receive a
    subsection you weren't expecting.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <1465896986-16132-1-git-send-email-dgilbert@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
migration/vmstate.c
trace-events