Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Branch HEAD
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
linux
/
linux-debug.c
diff --git
a/libcfs/libcfs/linux/linux-debug.c
b/libcfs/libcfs/linux/linux-debug.c
index
7bcb5d6
..
f08be51
100644
(file)
--- a/
libcfs/libcfs/linux/linux-debug.c
+++ b/
libcfs/libcfs/linux/linux-debug.c
@@
-263,6
+263,8
@@
void libcfs_debug_dumpstack(struct task_struct *tsk)
#elif defined(HAVE_DUMP_TRACE)
/* dump_stack() */
/* show_trace() */
+ if (tsk == NULL)
+ tsk = current;
printk("Pid: %d, comm: %.20s\n", tsk->pid, tsk->comm);
/* show_trace_log_lvl() */
printk("\nCall Trace:\n");