1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-18 20:40:22 +00:00
David Cohen ce1cb680ff PM: sleep: enable dynamic debug support within pm_pr_dbg()
Currently pm_pr_dbg() is used to filter kernel pm debug messages based
on pm_debug_messages_on flag. The problem is if we enable/disable this
flag it will affect all pm_pr_dbg() calls at once, so we can't
individually control them.

This patch changes pm_pr_dbg() implementation as such:

 - If pm_debug_messages_on is enabled, print the message.
 - If pm_debug_messages_on is disabled and CONFIG_DYNAMIC_DEBUG is
   enabled, only print the messages explicitly enabled on
   /sys/kernel/debug/dynamic_debug/control.
 - If pm_debug_messages_on is disabled and CONFIG_DYNAMIC_DEBUG is
   disabled, don't print the message.

Signed-off-by: David Cohen <dacohen@pm.me>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2022-04-13 16:34:01 +02:00
..
2022-04-01 09:37:18 -07:00
2022-03-30 10:36:41 -07:00
2022-03-25 13:56:18 -07:00
2022-03-24 13:13:26 -07:00
2022-03-23 18:08:03 +01:00
2022-03-25 13:35:34 -07:00
2022-03-23 19:58:38 +01:00
2022-03-28 17:29:53 -07:00
2022-03-25 13:35:34 -07:00
2022-04-08 07:39:17 -10:00
2022-03-25 12:14:39 -07:00
2022-03-24 19:37:53 -07:00
2022-03-26 11:51:46 -07:00
2022-03-17 20:17:18 -07:00
2022-03-31 11:43:01 -07:00
2022-03-24 13:13:26 -07:00
2022-03-24 19:37:53 -07:00
2022-03-28 17:29:53 -07:00
2022-04-01 14:40:44 -04:00
2022-03-31 15:49:36 -07:00
2022-04-03 12:26:01 -07:00
2022-04-07 09:43:41 -04:00
2022-03-22 17:03:12 -07:00
2022-03-22 18:26:56 -07:00
2022-03-26 12:01:35 -07:00
2022-03-18 09:47:04 +01:00
2022-03-23 14:35:59 -07:00
2022-03-21 12:57:38 -04:00
2022-03-22 17:03:12 -07:00
2022-03-22 17:03:12 -07:00
2022-04-01 14:40:44 -04:00
2022-03-29 18:55:37 -07:00
2022-03-29 18:55:37 -07:00
2022-04-01 16:26:57 -07:00
2022-03-24 19:06:45 -07:00
2022-04-01 13:45:08 -04:00
2022-03-25 13:02:05 -07:00
2022-03-28 17:29:53 -07:00
2022-03-21 14:00:56 -07:00
2022-03-17 20:16:29 -07:00
2022-03-23 19:58:41 +01:00
2022-03-23 12:33:21 -07:00
2022-03-22 15:57:11 -07:00
2022-03-24 13:13:26 -07:00
2022-03-23 18:03:08 -07:00
2022-03-28 16:53:00 -04:00
2022-04-01 13:40:44 -07:00