RE: [PATCH v2 2/2] pm: add more logging on hibernation failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: linux-kernel-owner@xxxxxxxxxxxxxxx <linux-kernel-
> owner@xxxxxxxxxxxxxxx> On Behalf Of Luigi Semenzato
> Sent: Thursday, January 2, 2020 2:01 PM
> To: linux-pm@xxxxxxxxxxxxxxx
...
> -	pr_info("Preallocating image memory... ");
> +	pr_info("Preallocating hibernation image memory\n");
...
> +		pr_err("Cannot allocate original bitmap\n");
...
> +		pr_err("Cannot allocate copy bitmap\n");
...
> +			pr_err("Image allocation is %lu pages short\n",
> +				alloc - pages_highmem);
...
> -	pr_cont("done (allocated %lu pages)\n", pages);
> +	pr_info("Allocated %lu pages for hibernation shapshot\n", pages);
>  	swsusp_show_speed(start, stop, pages, "Allocated");

Including the word "hibernation" or the phrase "hibernation image" in
each print would help in parsing the messages (e.g., with grep).







[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux