PM: sleep: Refine error message in try_to_freeze_tasks()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 1 Dec 2022 18:34:44 +0000 (19:34 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Dec 2022 11:04:34 +0000 (12:04 +0100)
commit96d4b8e1ad8a34711ef416dd61e6b60df9e12d30
tree26e8add478faa7c0875fe0627b3dc18a5ad39628
parenta449dfbfc0894676ad0aa1873383265047529e3a
PM: sleep: Refine error message in try_to_freeze_tasks()

A previous change amended try_to_freeze_tasks() with the "what"
variable pointing to a string describing the group of tasks subject to
the freezing which may be used in the error message in there too, so
make that happen.

Accordingly, update sleepgraph.py to catch the modified error message
as appropriate.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
kernel/power/process.c
tools/power/pm-graph/sleepgraph.py