diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-12-01 19:34:44 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-12-06 12:04:34 +0100 |
commit | 96d4b8e1ad8a34711ef416dd61e6b60df9e12d30 (patch) | |
tree | 26e8add478faa7c0875fe0627b3dc18a5ad39628 /kernel | |
parent | a449dfbfc0894676ad0aa1873383265047529e3a (diff) | |
download | linux-stable-96d4b8e1ad8a34711ef416dd61e6b60df9e12d30.tar.gz linux-stable-96d4b8e1ad8a34711ef416dd61e6b60df9e12d30.tar.bz2 linux-stable-96d4b8e1ad8a34711ef416dd61e6b60df9e12d30.zip |
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/power/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/power/process.c b/kernel/power/process.c index beeab7f9fac8..6c1c7e566d35 100644 --- a/kernel/power/process.c +++ b/kernel/power/process.c @@ -86,8 +86,8 @@ static int try_to_freeze_tasks(bool user_only) elapsed_msecs = ktime_to_ms(elapsed); if (todo) { - pr_err("Freezing of tasks %s after %d.%03d seconds " - "(%d tasks refusing to freeze, wq_busy=%d):\n", + pr_err("Freezing %s %s after %d.%03d seconds " + "(%d tasks refusing to freeze, wq_busy=%d):\n", what, wakeup ? "aborted" : "failed", elapsed_msecs / 1000, elapsed_msecs % 1000, todo - wq_busy, wq_busy); |