> -----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).