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

CONFIG_PM_NOTIFIER_ERROR_INJECT: PM notifier error injection module

General informations

The Linux kernel configuration item CONFIG_PM_NOTIFIER_ERROR_INJECT:

Help text

This option provides the ability to inject artificial errors to PM notifier chain callbacks. It is controlled through debugfs interface /sys/kernel/debug/notifier-error-inject/pm

If the notifier call chain should be failed with some events notified, write the error code to "actions/<notifier event>/error".

Example: Inject PM suspend error (-12 = -ENOMEM)

# cd /sys/kernel/debug/notifier-error-inject/pm/ # echo -12 > actions/PM_SUSPEND_PREPARE/error # echo mem > /sys/power/state bash: echo: write error: Cannot allocate memory

To compile this code as a module, choose M here: the module will be called pm-notifier-error-inject.

If unsure, say N.

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