From: Wenji Huang Date: Tue, 17 Feb 2009 06:07:28 +0000 (-0500) Subject: tracing: use the more proper parameter X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=af513098452b8887d7c0e15a39d7cb74479501bd;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git tracing: use the more proper parameter Pass tsk to tracing_record_cmdline instead of current. Signed-off-by: Wenji Huang Signed-off-by: Steven Rostedt --- diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 95f99a7abf2f..dc61e82faad9 100644 --- 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