Re: [PATCH] tracing: uprobes: fix typo in pr_fmt string

From: Joe Perches
Date: Thu Jan 17 2019 - 15:42:54 EST


On Thu, 2019-01-17 at 14:30 +0100, Andreas Ziegler wrote:
> The subsystem-specific message prefix for uprobes was also
> "trace_kprobe: " instead of "trace_uprobe: " as described in
> the original commit message.
[]
> diff --git a/kernel/trace/trace_uprobe.c b/kernel/trace/trace_uprobe.c
[]
> @@ -5,7 +5,7 @@
> * Copyright (C) IBM Corporation, 2010-2012
> * Author: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx>
> */
> -#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