Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - P index
The Linux kernel configuration item CONFIG_PM_TRACE
has multiple definitions:
kernel/power/Kconfig
The configuration item CONFIG_PM_TRACE:
(none)
This enables code to save the last PM event point across reboot. The architecture needs to support this, x86 for example does by saving things in the RTC, see below.
The architecture specific code must provide the extern functions from <linux/resume-trace.h> as well as the <asm/resume-trace.h> header with a TRACE_RESUME() macro.
The way the information is presented is architecture- dependent, x86 will print the information during a late_initcall.
kernel/power/Kconfig
The configuration item CONFIG_PM_TRACE:
CONFIG_PM_DEBUG && CONFIG_X86 && CONFIG_PM_SLEEP && CONFIG_EXPERIMENTAL
This enables some cheesy code to save the last PM event point in the RTC across reboots, so that you can debug a machine that just hangs during suspend (or more commonly, during resume).
To use this debugging feature you should attempt to suspend the machine, then reboot it, then run
dmesg -s 1000000 | grep 'hash matches'
CAUTION: this option will cause your machine's real-time clock to be set to an invalid time after a resume.
Raw data from LKDDb:
(none)
This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - P index
Automatically generated (in year 2024). See also LKDDb sources on GitLab