[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 5/7] xen: make dumping vcpu info look better
On 03/16/2015 05:05 PM, Dario Faggioli wrote: > and more consistent. In fact, before this changes, it looks > like this: > > (XEN) VCPU information and callbacks for domain 0: > (XEN) VCPU0: CPU4 [has=F] poll=0 upcall_pend = 00, upcall_mask = 00 > dirty_cpus={4} cpu_affinity={0-15} > (XEN) cpu_soft_affinity={0-15} > (XEN) pause_count=0 pause_flags=1 > (XEN) No periodic timer > > After, it looks like this: > > (XEN) VCPU information and callbacks for domain 0: > (XEN) VCPU0: CPU4 [has=F] poll=0 upcall_pend=00 upcall_mask=00 > dirty_cpus={4} > (XEN) cpu_hard_affinity={0-15} cpu_soft_affinity={0-15} > (XEN) pause_count=0 pause_flags=1 > (XEN) No periodic timer > > So, consistently _not_ put space between fields and '=', > and consistently _not_ use ',' as separator. Also, put the > info about affinity on the same, properly indented. > > Signed-off-by: Dario Faggioli <dario.faggioli@xxxxxxxxxx> > Cc: George Dunlap <george.dunlap@xxxxxxxxxxxxx> > Cc: Meng Xu <xumengpanda@xxxxxxxxx> > Cc: Jan Beulich <JBeulich@xxxxxxxx> > Cc: Keir Fraser <keir@xxxxxxx> Reviewed-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> > --- > xen/common/keyhandler.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/xen/common/keyhandler.c b/xen/common/keyhandler.c > index a917726..5d21e48 100644 > --- a/xen/common/keyhandler.c > +++ b/xen/common/keyhandler.c > @@ -294,15 +294,15 @@ static void dump_domains(unsigned char key) > process_pending_softirqs(); > > printk(" VCPU%d: CPU%d [has=%c] poll=%d " > - "upcall_pend = %02x, upcall_mask = %02x ", > + "upcall_pend=%02x upcall_mask=%02x ", > v->vcpu_id, v->processor, > v->is_running ? 'T':'F', v->poll_evtchn, > vcpu_info(v, evtchn_upcall_pending), > !vcpu_event_delivery_is_enabled(v)); > cpuset_print(tmpstr, sizeof(tmpstr), v->vcpu_dirty_cpumask); > - printk("dirty_cpus=%s ", tmpstr); > + printk("dirty_cpus=%s\n", tmpstr); > cpuset_print(tmpstr, sizeof(tmpstr), v->cpu_hard_affinity); > - printk("cpu_affinity=%s\n", tmpstr); > + printk(" cpu_hard_affinity=%s ", tmpstr); > cpuset_print(tmpstr, sizeof(tmpstr), v->cpu_soft_affinity); > printk("cpu_soft_affinity=%s\n", tmpstr); > printk(" pause_count=%d pause_flags=%lx\n", > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |