Commit 0270191f authored by Philippe Gerum's avatar Philippe Gerum Committed by Jan Kiszka
Browse files

cobalt/debug: prefer dump_stack() to show_stack()

dump_stack() also prints out the system information, which is always
good to have.
Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <>
parent 2cb3f45d
...@@ -592,7 +592,7 @@ int xnlock_dbg_release(struct xnlock *lock, ...@@ -592,7 +592,7 @@ int xnlock_dbg_release(struct xnlock *lock,
" last owner = %s:%u (%s(), CPU #%d)\n", " last owner = %s:%u (%s(), CPU #%d)\n",
lock, cpu, lock->file, lock->line, lock->function, lock, cpu, lock->file, lock->line, lock->function,
lock->cpu); lock->cpu);
show_stack(NULL,NULL); dump_stack();
return 1; return 1;
} }
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