Commit af513098 authored by Wenji Huang's avatar Wenji Huang Committed by Steven Rostedt

tracing: use the more proper parameter

Pass tsk to tracing_record_cmdline instead of current.
Signed-off-by: default avatarWenji Huang <wenji.huang@oracle.com>
Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
parent b6887d79
...@@ -336,7 +336,7 @@ __update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu) ...@@ -336,7 +336,7 @@ __update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu)
data->rt_priority = tsk->rt_priority; data->rt_priority = tsk->rt_priority;
/* record this tasks comm */ /* record this tasks comm */
tracing_record_cmdline(current); tracing_record_cmdline(tsk);
} }
static void static void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment