[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0902171238340.910@gandalf.stny.rr.com>
Date: Tue, 17 Feb 2009 12:39:16 -0500 (EST)
From: Steven Rostedt <rostedt@...dmis.org>
To: Wenji Huang <wenji.huang@...cle.com>
cc: linux-kernel@...r.kernel.org
Subject: Re: [RE-SEND PATCH 1/3] tracing: use the more proper parameter.
Thanks, I've applied all three patches.
Just a small nit pick. Please do not include a period in the subject line.
Thanks,
-- Steve
On Tue, 17 Feb 2009, Wenji Huang wrote:
> Pass tsk to tracing_record_cmdline instead of current.
>
> Signed-off-by: Wenji Huang <wenji.huang@...cle.com>
> ---
> 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 95f99a7..dc61e82 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
> --
> 1.5.6
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists