projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6887d7
)
tracing: use the more proper parameter
author
Wenji Huang
<wenji.huang@oracle.com>
Tue, 17 Feb 2009 06:07:28 +0000
(
01:07
-0500)
committer
Steven Rostedt
<srostedt@redhat.com>
Tue, 17 Feb 2009 17:38:23 +0000
(12:38 -0500)
Pass tsk to tracing_record_cmdline instead of current.
Signed-off-by: Wenji Huang <wenji.huang@oracle.com>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/trace.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/trace/trace.c
b/kernel/trace/trace.c
index 95f99a7abf2f3449d940e5d7b60f3b5dc556c62c..dc61e82faad91494c6211cdfb22e9a6dc0fb4ff9 100644
(file)
--- a/
kernel/trace/trace.c
+++ b/
kernel/trace/trace.c
@@
-336,7
+336,7
@@
__update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu)
data->rt_priority = tsk->rt_priority;
/* record this tasks comm */
- tracing_record_cmdline(
current
);
+ tracing_record_cmdline(
tsk
);
}
static void