[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 9/9] arm: tweak/improve logging for host SMP
On Wed, 6 Mar 2013, Ian Campbell wrote: > From: Ian Campbell <ian.campbell@xxxxxxxxxx> > > Make the "CPU<n> booted" message fit in with the surrounding logging. > > Log which CPU is taking an unexpected trap. > > Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> > xen/arch/arm/smpboot.c | 2 +- > xen/arch/arm/traps.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/xen/arch/arm/smpboot.c b/xen/arch/arm/smpboot.c > index 1bebf86..bd353c8 100644 > --- a/xen/arch/arm/smpboot.c > +++ b/xen/arch/arm/smpboot.c > @@ -178,7 +178,7 @@ void __cpuinit start_secondary(unsigned long > boot_phys_offset, > > local_irq_enable(); > > - dprintk(XENLOG_DEBUG, "CPU %u booted.\n", smp_processor_id()); > + printk(XENLOG_DEBUG "CPU %u booted.\n", smp_processor_id()); > > startup_cpu_idle_loop(); > } > diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c > index 2cc31ab..a98a45e 100644 > --- a/xen/arch/arm/traps.c > +++ b/xen/arch/arm/traps.c > @@ -578,7 +578,7 @@ void vcpu_show_execution_state(struct vcpu *v) > > void do_unexpected_trap(const char *msg, struct cpu_user_regs *regs) > { > - printk("Unexpected Trap: %s\n", msg); > + printk("CPU%d: Unexpected Trap: %s\n", smp_processor_id(), msg); > show_execution_state(regs); > while(1); > } > -- > 1.7.10.4 > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |