X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=lib%2FKconfig.debug;h=3638b3424be531d3d9593c4703a42aa5355ae6c7;hb=b681604edab66f20dde767f4690e554f26c5bfb9;hp=a1005415f0f485db8eaf02842eedaa98f889ac1f;hpb=364eb618348c1aaebe6ccc102ca15d92c2bf6033;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index a100541..3638b34 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -399,6 +399,7 @@ config FRAME_WARN default 2048 if GCC_PLUGIN_LATENT_ENTROPY default 2048 if PARISC default 1536 if (!64BIT && XTENSA) + default 1280 if KASAN && !64BIT default 1024 if !64BIT default 2048 if 64BIT help @@ -1874,8 +1875,14 @@ config NETDEV_NOTIFIER_ERROR_INJECT If unsure, say N. config FUNCTION_ERROR_INJECTION - def_bool y + bool "Fault-injections of functions" depends on HAVE_FUNCTION_ERROR_INJECTION && KPROBES + help + Add fault injections into various functions that are annotated with + ALLOW_ERROR_INJECTION() in the kernel. BPF may also modify the return + value of theses functions. This is useful to test error paths of code. + + If unsure, say N config FAULT_INJECTION bool "Fault-injection framework"