提交 9df9078e 编写于 作者: B Borislav Petkov 提交者: Ingo Molnar

perf/amd/uncore: Fix pr_fmt() prefix

Make it "perf/amd/uncore: ", i.e., something more specific than "perf: ".
Signed-off-by: NBorislav Petkov <bp@suse.de>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Link: http://lkml.kernel.org/r/20170410122047.3026-4-bp@alien8.de
[ Changed it to perf/amd/uncore/ ]
Signed-off-by: NIngo Molnar <mingo@kernel.org>
上级 68e80380
...@@ -30,6 +30,9 @@ ...@@ -30,6 +30,9 @@
#define COUNTER_SHIFT 16 #define COUNTER_SHIFT 16
#undef pr_fmt
#define pr_fmt(fmt) "amd_uncore: " fmt
static int num_counters_llc; static int num_counters_llc;
static int num_counters_nb; static int num_counters_nb;
...@@ -548,7 +551,7 @@ static int __init amd_uncore_init(void) ...@@ -548,7 +551,7 @@ static int __init amd_uncore_init(void)
if (ret) if (ret)
goto fail_nb; goto fail_nb;
pr_info("perf: AMD NB counters detected\n"); pr_info("AMD NB counters detected\n");
ret = 0; ret = 0;
} }
...@@ -562,7 +565,7 @@ static int __init amd_uncore_init(void) ...@@ -562,7 +565,7 @@ static int __init amd_uncore_init(void)
if (ret) if (ret)
goto fail_llc; goto fail_llc;
pr_info("perf: AMD LLC counters detected\n"); pr_info("AMD LLC counters detected\n");
ret = 0; ret = 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册