[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] debug: Add domain/vcpu pause_count info to 'd' key.
# HG changeset patch # User Keir Fraser <keir@xxxxxxx> # Date 1321976126 0 # Node ID 1f2a06dbbb69641f898bcc573fc34a353ca6bbc9 # Parent d3859e348951cde6b211c5afb610ac1f12a909ec debug: Add domain/vcpu pause_count info to 'd' key. Signed-off-by: Keir Fraser <keir@xxxxxxx> --- diff -r d3859e348951 -r 1f2a06dbbb69 xen/common/keyhandler.c --- a/xen/common/keyhandler.c Tue Nov 22 13:29:48 2011 +0000 +++ b/xen/common/keyhandler.c Tue Nov 22 15:35:26 2011 +0000 @@ -245,9 +245,10 @@ unsigned int i; printk("General information for domain %u:\n", d->domain_id); cpuset_print(tmpstr, sizeof(tmpstr), d->domain_dirty_cpumask); - printk(" refcnt=%d dying=%d nr_pages=%d xenheap_pages=%d " - "dirty_cpus=%s max_pages=%u\n", + printk(" refcnt=%d dying=%d pause_count=%d\n", atomic_read(&d->refcnt), d->is_dying, + atomic_read(&d->pause_count)); + printk(" nr_pages=%d xenheap_pages=%d dirty_cpus=%s max_pages=%u\n", d->tot_pages, d->xenheap_pages, tmpstr, d->max_pages); printk(" handle=%02x%02x%02x%02x-%02x%02x-%02x%02x-" "%02x%02x-%02x%02x%02x%02x%02x%02x vm_assist=%08lx\n", @@ -271,17 +272,18 @@ d->domain_id); for_each_vcpu ( d, v ) { - printk(" VCPU%d: CPU%d [has=%c] flags=%lx poll=%d " + printk(" VCPU%d: CPU%d [has=%c] poll=%d " "upcall_pend = %02x, upcall_mask = %02x ", v->vcpu_id, v->processor, - v->is_running ? 'T':'F', - v->pause_flags, v->poll_evtchn, + v->is_running ? 'T':'F', v->poll_evtchn, vcpu_info(v, evtchn_upcall_pending), vcpu_info(v, evtchn_upcall_mask)); cpuset_print(tmpstr, sizeof(tmpstr), v->vcpu_dirty_cpumask); printk("dirty_cpus=%s ", tmpstr); cpuset_print(tmpstr, sizeof(tmpstr), v->cpu_affinity); printk("cpu_affinity=%s\n", tmpstr); + printk(" pause_count=%d pause_flags=%lx\n", + atomic_read(&v->pause_count), v->pause_flags); arch_dump_vcpu_info(v); periodic_timer_print(tmpstr, sizeof(tmpstr), v->periodic_period); printk(" %s\n", tmpstr); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |