From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753457AbdDJMVM (ORCPT ); Mon, 10 Apr 2017 08:21:12 -0400 Received: from mail.skyhub.de ([5.9.137.197]:60090 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753248AbdDJMVI (ORCPT ); Mon, 10 Apr 2017 08:21:08 -0400 From: Borislav Petkov To: X86 ML Cc: Peter Zijlstra , Suravee Suthikulpanit , LKML Subject: [PATCH 3/3] events/amd/uncore: Fix pr_fmt prefix Date: Mon, 10 Apr 2017 14:20:47 +0200 Message-Id: <20170410122047.3026-4-bp@alien8.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170410122047.3026-1-bp@alien8.de> References: <20170410122047.3026-1-bp@alien8.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Borislav Petkov Make it "amd_uncore: ", i.e., something more specific than "perf: ". Signed-off-by: Borislav Petkov --- arch/x86/events/amd/uncore.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/x86/events/amd/uncore.c b/arch/x86/events/amd/uncore.c index 975f24f6e238..ad44af0dd667 100644 --- a/arch/x86/events/amd/uncore.c +++ b/arch/x86/events/amd/uncore.c @@ -30,6 +30,9 @@ #define COUNTER_SHIFT 16 +#undef pr_fmt +#define pr_fmt(fmt) "amd_uncore: " fmt + static int num_counters_llc; static int num_counters_nb; @@ -548,7 +551,7 @@ static int __init amd_uncore_init(void) if (ret) goto fail_nb; - pr_info("perf: AMD NB counters detected\n"); + pr_info("AMD NB counters detected\n"); ret = 0; } @@ -562,7 +565,7 @@ static int __init amd_uncore_init(void) if (ret) goto fail_llc; - pr_info("perf: AMD LLC counters detected\n"); + pr_info("AMD LLC counters detected\n"); ret = 0; } -- 2.11.0