Lines Matching full: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 PM notifier error injection module
18 /sys/kernel/debug/notifier-error-inject/pm/actions/<notifier event>/error
26 Example: Inject PM suspend error (-12 = -ENOMEM)::
28 # cd /sys/kernel/debug/notifier-error-inject/pm/
29 # echo -12 > actions/PM_SUSPEND_PREPARE/error
31 bash: echo: write error: Cannot allocate memory
33 Memory hotplug notifier error injection module
37 /sys/kernel/debug/notifier-error-inject/memory/actions/<notifier event>/error
44 Example: Inject memory hotplug offline error (-12 == -ENOMEM)::
46 # cd /sys/kernel/debug/notifier-error-inject/memory
47 # echo -12 > actions/MEM_GOING_OFFLINE/error
49 bash: echo: write error: Cannot allocate memory
51 powerpc pSeries reconfig notifier error injection module
55 /sys/kernel/debug/notifier-error-inject/pSeries-reconfig/actions/<notifier event>/error
64 Netdevice notifier error injection module
68 /sys/kernel/debug/notifier-error-inject/netdev/actions/<notifier event>/error
82 Example: Inject netdevice mtu change error (-22 == -EINVAL)::
84 # cd /sys/kernel/debug/notifier-error-inject/netdev
85 # echo -22 > actions/NETDEV_CHANGEMTU/error
91 There are tools/testing/selftests using the notifier error injection features
98 injection tests if notifier error injection module is available.