Re: [PATCH] power: Include additional information in pm_print_times

From: Joe Perches
Date: Fri Jun 14 2013 - 12:41:54 EST


On Fri, 2013-06-14 at 10:33 -0600, Shuah Khan wrote:
> Change __device_suspend() path to include driver name and the ops that
> get run for a device.
[]
> diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
[]
> -static ktime_t initcall_debug_start(struct device *dev)
> +static ktime_t initcall_debug_start(struct device *dev, char *info)
> {
> ktime_t calltime = ktime_set(0, 0);
>
> if (pm_print_times_enabled) {
> - pr_info("calling %s+ @ %i, parent: %s\n",
> + pr_info("calling %s+ @ %i, parent: %s driver: %s %s\n",

dev_info(dev, etc...


--
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/