Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7941f1b
)
b=19870
author
zhanghc
<zhanghc>
Fri, 19 Jun 2009 04:29:18 +0000
(
04:29
+0000)
committer
zhanghc
<zhanghc>
Fri, 19 Jun 2009 04:29:18 +0000
(
04:29
+0000)
print correct pid/comm in libcfs_debug_dumpstack
i=sheng.yang@sun.com
i=nathn.rutman@sun.com
lnet/libcfs/linux/linux-debug.c
patch
|
blob
|
history
diff --git
a/lnet/libcfs/linux/linux-debug.c
b/lnet/libcfs/linux/linux-debug.c
index
7da6eda
..
c96eb4a
100644
(file)
--- a/
lnet/libcfs/linux/linux-debug.c
+++ b/
lnet/libcfs/linux/linux-debug.c
@@
-272,7
+272,7
@@
static DUMP_TRACE_CONST struct stacktrace_ops print_trace_ops = {
};
/* dump_stack() */
/* show_trace() */
- printk("Pid: %d, comm: %.20s\n",
current->pid, current
->comm);
+ printk("Pid: %d, comm: %.20s\n",
tsk->pid, tsk
->comm);
/* show_trace_log_lvl() */
printk("\nCall Trace:\n");
dump_trace(tsk, NULL, NULL,