From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753496AbbJPFhX (ORCPT ); Fri, 16 Oct 2015 01:37:23 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:36785 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751936AbbJPFhT (ORCPT ); Fri, 16 Oct 2015 01:37:19 -0400 Date: Fri, 16 Oct 2015 11:07:13 +0530 From: Viresh Kumar To: Stephen Boyd Cc: Rafael Wysocki , linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, nm@ti.com, Bartlomiej Zolnierkiewicz , Dan Carpenter , Dmitry Torokhov , Greg Kroah-Hartman , Len Brown , open list , Pavel Machek Subject: Re: [PATCH V2 1/4] PM / OPP: Improve debug print messages with pr_fmt Message-ID: <20151016053713.GO19018@linux> References: <20151015190421.GK4558@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151015190421.GK4558@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15-10-15, 12:04, Stephen Boyd wrote: > On 10/15, Viresh Kumar wrote: > > With debug options on, it is difficult to locate OPP core's debug > > prints. Fix this by prefixing OPP debug prints with KBUILD_MODNAME. > > > > Signed-off-by: Viresh Kumar > > Why not use dynamic debug's m flag to turn on KBUILD_MODNAME when > debugging? > > >From Documentation/dynamic-debug-howto.txt > > m Include module name in the printed message It wasn't just about debug messages but pr_info and pr_err as well. And so I defined pr_fmt instead. -- viresh