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

CONFIG_CPU_NOTIFIER_ERROR_INJECT: CPU notifier error injection module

General informations

The Linux kernel configuration item CONFIG_CPU_NOTIFIER_ERROR_INJECT:

Help text

This option provides a kernel module that can be used to test the error handling of the cpu notifiers by injecting artificial errors to CPU notifier chain callbacks. It is controlled through debugfs interface under /sys/kernel/debug/notifier-error-inject/cpu

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

Example: Inject CPU offline error (-1 == -EPERM)

# cd /sys/kernel/debug/notifier-error-inject/cpu # echo -1 > actions/CPU_DOWN_PREPARE/error # echo 0 > /sys/devices/system/cpu/cpu1/online bash: echo: write error: Operation not permitted

To compile this code as a module, choose M here: the module will be called cpu-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 - C index

Automatically generated (in year 2016) with gen-web-lkddb.py in lkddb-sources.