The documentation says CONFIG_FUNCTION_ERROR_INJECTION is supported only on x86. This was presumably true at the time of writing, but it's now supported on many other architectures too. Drop this statement, since it's not correct anymore and it fits better in other documentation anyway.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -3103,10 +3103,6 @@ union bpf_attr { · 3102 unmodified lines | ||
| 3103 | 3103 | * with the **CONFIG_BPF_KPROBE_OVERRIDE** configuration |
| 3104 | 3104 | * option, and in this case it only works on functions tagged with |
| 3105 | 3105 | * **ALLOW_ERROR_INJECTION** in the kernel code. |
| 3106 | − * | |
| 3107 | − * Also, the helper is only available for the architectures having | |
| 3108 | − * the CONFIG_FUNCTION_ERROR_INJECTION option. As of this writing, | |
| 3109 | − * x86 architecture is the only one to support this feature. | |
| 3110 | 3106 | * Return |
| 3111 | 3107 | * 0 |
| 3112 | 3108 | * |