diff options
author | Wenji Huang <wenji.huang@oracle.com> | 2009-02-17 01:07:28 -0500 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-02-17 12:38:23 -0500 |
commit | af513098452b8887d7c0e15a39d7cb74479501bd (patch) | |
tree | a578846af58fe25dd784f694440a3cf757aea807 /kernel/trace/trace.c | |
parent | b6887d7916e44c1d8913084fb6aa5004d9473f1a (diff) |
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>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
336 | data->rt_priority = tsk->rt_priority; | 336 | data->rt_priority = tsk->rt_priority; |
337 | 337 | ||
338 | /* record this tasks comm */ | 338 | /* record this tasks comm */ |
339 | tracing_record_cmdline(current); | 339 | tracing_record_cmdline(tsk); |
340 | } | 340 | } |
341 | 341 | ||
342 | static void | 342 | static void |