Lines Matching refs:error

1 Notifier error injection
4 Notifier error injection provides the ability to inject artificial errors to
5 specified notifier chain callbacks. It is useful to test the error handling of
14 CPU notifier error injection module
16 This feature can be used to test the error handling of the CPU notifiers by
20 the error code to debugfs interface
21 /sys/kernel/debug/notifier-error-inject/cpu/actions/<notifier event>/error
30 Example1: Inject CPU offline error (-1 == -EPERM)
32 # cd /sys/kernel/debug/notifier-error-inject/cpu
33 # echo -1 > actions/CPU_DOWN_PREPARE/error
35 bash: echo: write error: Operation not permitted
37 Example2: inject CPU online error (-2 == -ENOENT)
39 # echo -2 > actions/CPU_UP_PREPARE/error
41 bash: echo: write error: No such file or directory
43 PM notifier error injection module
46 /sys/kernel/debug/notifier-error-inject/pm/actions/<notifier event>/error
54 Example: Inject PM suspend error (-12 = -ENOMEM)
56 # cd /sys/kernel/debug/notifier-error-inject/pm/
57 # echo -12 > actions/PM_SUSPEND_PREPARE/error
59 bash: echo: write error: Cannot allocate memory
61 Memory hotplug notifier error injection module
64 /sys/kernel/debug/notifier-error-inject/memory/actions/<notifier event>/error
71 Example: Inject memory hotplug offline error (-12 == -ENOMEM)
73 # cd /sys/kernel/debug/notifier-error-inject/memory
74 # echo -12 > actions/MEM_GOING_OFFLINE/error
76 bash: echo: write error: Cannot allocate memory
78 powerpc pSeries reconfig notifier error injection module
81 /sys/kernel/debug/notifier-error-inject/pSeries-reconfig/actions/<notifier event>/error
92 There are tools/testing/selftests using the notifier error injection features
99 injection tests if notifier error injection module is available.