Re: [PATCH V2 1/4] PM / OPP: Improve debug print messages with pr_fmt

From: Stephen Boyd
Date: Thu Oct 15 2015 - 15:04:27 EST


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 <viresh.kumar@xxxxxxxxxx>

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
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/