Add tracepoints for savevm section start/end
authorJuan Quintela <quintela@redhat.com>
Mon, 21 May 2012 21:46:44 +0000 (23:46 +0200)
committerJuan Quintela <quintela@redhat.com>
Fri, 29 Jun 2012 11:27:28 +0000 (13:27 +0200)
commit517a13c91a975987b4c2850c08078bd3cef4dce7
tree5c7ce61f610232da3f07ad370fdb4adbfc848b96
parentd5f8a5701d3690b5ec0c34b6a5c0b5a24d274540
Add tracepoints for savevm section start/end

This allows to know how long each section takes to save.

An awk script like this tells us sections that takes more that 10ms

$1 ~ /savevm_state_iterate_end/ {
/* Print savevm_section_end line when > 10ms duration */
if ($2 > 10000) {
printf("%s times_missing=%u\n", $0, times_missing++);
}
}

Signed-off-by: Juan Quintela <quintela@redhat.com>
fix ws tracepoints

Signed-off-by: Juan Quintela <quintela@redhat.com>
savevm.c
trace-events