lkml.org 
[lkml]   [2017]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] tracing/probe: fix typo in pr_fmt in trace_uprobe.c
From
Date
On Wed, 2017-11-15 at 13:14 -0500, Steven Rostedt wrote:
> On Tue, 14 Nov 2017 22:58:31 +0900 Masami Hiramatsu <mhiramat@kernel.org> wrote:
> > On Mon, 13 Nov 2017 14:02:46 -0800 Song Liu <songliubraving@fb.com> wrote:
> > > pr_fmt in trace_uprobe.c should say "trace_uprobe" instead of
> > > "trace_kprobe".
> > Oh, good catch!
> > Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
> Thanks.
> Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
> Jiri, can you take this in your tree?
>
[]
> > > diff --git a/kernel/trace/trace_uprobe.c b/kernel/trace/trace_uprobe.c
[]
> > > @@ -17,7 +17,7 @@
> > > * Copyright (C) IBM Corporation, 2010-2012
> > > * Author: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
> > > */
> > > -#define pr_fmt(fmt) "trace_kprobe: " fmt
> > > +#define pr_fmt(fmt) "trace_uprobe: " fmt

Maybe use the much more common below instead?

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

\
 
 \ /
  Last update: 2017-11-15 23:56    [W:0.049 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site