提交 af513098 编写于 作者: W Wenji Huang 提交者: Steven Rostedt

tracing: use the more proper parameter

Pass tsk to tracing_record_cmdline instead of current.
Signed-off-by: NWenji Huang <wenji.huang@oracle.com>
Signed-off-by: NSteven Rostedt <srostedt@redhat.com>
上级 b6887d79
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册