mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 10:56:40 +00:00
tracing: use the more proper parameter
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>
This commit is contained in:
parent
b6887d7916
commit
af51309845
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user