xen: print backtrace on multicall failure
Print a backtrace if a multicall fails, to help with debugging. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Stephen Tweedie <sct@redhat.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Cc: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Родитель
7c33b1e6ee
Коммит
8ba6c2b095
|
@ -76,6 +76,7 @@ void xen_mc_flush(void)
|
||||||
if (ret) {
|
if (ret) {
|
||||||
printk(KERN_ERR "%d multicall(s) failed: cpu %d\n",
|
printk(KERN_ERR "%d multicall(s) failed: cpu %d\n",
|
||||||
ret, smp_processor_id());
|
ret, smp_processor_id());
|
||||||
|
dump_stack();
|
||||||
for (i = 0; i < b->mcidx; i++) {
|
for (i = 0; i < b->mcidx; i++) {
|
||||||
printk(" call %2d/%d: op=%lu arg=[%lx] result=%ld\n",
|
printk(" call %2d/%d: op=%lu arg=[%lx] result=%ld\n",
|
||||||
i+1, b->mcidx,
|
i+1, b->mcidx,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче