Skip to contentSkip to conversation

tracing: uprobes: fix typo in pr_fmt string

PATCH In review Andreas Ziegler 4 participants 4 messages Jan 17, 2019 Tracing

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tracing: uprobes: fix typo in pr_fmt string

The subsystem-specific message prefix for uprobes was also "trace_kprobe: " instead of "trace_uprobe: " as described in the original commit message.

Fixes 7257634135c24 ("tracing/probe: Show subsystem name in messages")
---
 kernel/trace/trace_uprobe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace_uprobe.c +1 -1
index e335576b9411..19a1a8e19062 100644
@@ -5,7 +5,7 @@
  * Copyright (C) IBM Corporation, 2010-2012
  * Author:	Srikar Dronamraju <[email protected]>
  */
-#define pr_fmt(fmt)	"trace_kprobe: " fmt
+#define pr_fmt(fmt)	"trace_uprobe: " fmt
 
 #include <linux/ctype.h>
 #include <linux/module.h>
Signature · 1 line
2.17.1
maintainer
#1 lore raw

Masami,

Can you give an Acked-by?

Thanks!

-- Steve

Quoted 23 lines · On Thu, 17 Jan 2019 14:30:23 +0100 Andreas Ziegler <[email protected]>…

The subsystem-specific message prefix for uprobes was also "trace_kprobe: " instead of "trace_uprobe: " as described in the original commit message.

Fixes 7257634135c24 ("tracing/probe: Show subsystem name in messages")
---
 kernel/trace/trace_uprobe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace_uprobe.c +1 -1
index e335576b9411..19a1a8e19062 100644
@@ -5,7 +5,7 @@
  * Copyright (C) IBM Corporation, 2010-2012
  * Author:	Srikar Dronamraju <[email protected]>
  */
-#define pr_fmt(fmt)	"trace_kprobe: " fmt
+#define pr_fmt(fmt)	"trace_uprobe: " fmt
 
 #include <linux/ctype.h>
 #include <linux/module.h>
maintainer Acked-by
#2 lore raw
Quoted 3 lines · On Thu, 17 Jan 2019 09:53:16 -0500 Steven Rostedt <[email protected]> wrote:

Masami,

Can you give an Acked-by?

Of course!

Thank you Andreas!

Quoted 33 lines

Thanks!

-- Steve

Quoted 23 lines · On Thu, 17 Jan 2019 14:30:23 +0100 Andreas Ziegler <[email protected]>…

The subsystem-specific message prefix for uprobes was also "trace_kprobe: " instead of "trace_uprobe: " as described in the original commit message.

Fixes 7257634135c24 ("tracing/probe: Show subsystem name in messages")
---
 kernel/trace/trace_uprobe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace_uprobe.c +1 -1
index e335576b9411..19a1a8e19062 100644
@@ -5,7 +5,7 @@
  * Copyright (C) IBM Corporation, 2010-2012
  * Author:	Srikar Dronamraju <[email protected]>
  */
-#define pr_fmt(fmt)	"trace_kprobe: " fmt
+#define pr_fmt(fmt)	"trace_uprobe: " fmt
 
 #include <linux/ctype.h>
 #include <linux/module.h>
Signature · 1 line
Masami Hiramatsu <[email protected]>
#3 lore raw
In reply to Andreas Ziegler
Quoted 3 lines · Andreas Ziegler

The subsystem-specific message prefix for uprobes was also "trace_kprobe: " instead of "trace_uprobe: " as described in the original commit message.

[]

kernel/trace/trace_uprobe.c

Quoted 1 line
kernel/trace/trace_uprobe.c +0 -0

[]

kernel/trace/trace_uprobe.c line 8

Quoted 6 lines
kernel/trace/trace_uprobe.c +1 -1
@@ -5,7 +5,7 @@
  * Copyright (C) IBM Corporation, 2010-2012
  * Author:	Srikar Dronamraju <[email protected]>
  */
-#define pr_fmt(fmt)	"trace_kprobe: " fmt
+#define pr_fmt(fmt)	"trace_uprobe: " fmt

Perhaps use the more common KBUILD_MODNAME instead

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt