Commit 8ba6c2b0 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge Committed by Ingo Molnar

xen: print backtrace on multicall failure

Print a backtrace if a multicall fails, to help with debugging.
Signed-off-by: default avatarJeremy 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: default avatarIngo Molnar <mingo@elte.hu>
parent 7c33b1e6
...@@ -76,6 +76,7 @@ void xen_mc_flush(void) ...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment