From: Philippe Gerum <r...@xenomai.org> dump_stack() also prints out the system information, which is always good to have.
Signed-off-by: Philippe Gerum <r...@xenomai.org> --- kernel/cobalt/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cobalt/debug.c b/kernel/cobalt/debug.c index f97144aeb..a6e2cc42d 100644 --- a/kernel/cobalt/debug.c +++ b/kernel/cobalt/debug.c @@ -592,7 +592,7 @@ int xnlock_dbg_release(struct xnlock *lock, " last owner = %s:%u (%s(), CPU #%d)\n", lock, cpu, lock->file, lock->line, lock->function, lock->cpu); - show_stack(NULL,NULL); + dump_stack(); return 1; } -- 2.29.2