• Rafael J. Wysocki's avatar
    PM / sleep: Do not print debug messages by default · 8d8b2441
    Rafael J. Wysocki authored
    Debug messages from the system suspend/hibernation infrastructure can
    fill up the entire kernel log buffer in some cases and anyway they
    are only useful for debugging.  They depend on CONFIG_PM_DEBUG, but
    that is set as a rule as some generally useful diagnostic facilities
    depend on it too.
    
    For this reason, avoid printing those messages by default, but make
    it possible to turn them on as needed with the help of a new sysfs
    attribute under /sys/power/.
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    8d8b2441
main.c 45.7 KB