Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - P index

CONFIG_PM_TRACE:

General informations

The Linux kernel configuration item CONFIG_PM_TRACE has multiple definitions:

found in kernel/power/Kconfig

The configuration item CONFIG_PM_TRACE:

Help text

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.

Suspend/resume event tracing found in kernel/power/Kconfig

The configuration item CONFIG_PM_TRACE:

Help text

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.

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - P index

Automatically generated (in year 2024). See also LKDDb sources on GitLab