Kconfig 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # sched-ext mandatory options
  2. #
  3. CONFIG_BPF=y
  4. CONFIG_BPF_SYSCALL=y
  5. CONFIG_BPF_JIT=y
  6. CONFIG_DEBUG_INFO_BTF=y
  7. CONFIG_BPF_JIT_ALWAYS_ON=y
  8. CONFIG_BPF_JIT_DEFAULT_ON=y
  9. CONFIG_SCHED_CLASS_EXT=y
  10. # Required by some rust schedulers (e.g. scx_p2dq)
  11. #
  12. CONFIG_KALLSYMS_ALL=y
  13. # Required on arm64
  14. #
  15. # CONFIG_DEBUG_INFO_REDUCED is not set
  16. # LAVD tracks futex to give an additional time slice for futex holder
  17. # (i.e., avoiding lock holder preemption) for better system-wide progress.
  18. # LAVD first tries to use ftrace to trace futex function calls.
  19. # If that is not available, it tries to use a tracepoint.
  20. CONFIG_FUNCTION_TRACER=y
  21. # Enable scheduling debugging
  22. #
  23. CONFIG_SCHED_DEBUG=y
  24. # Enable extra scheduling features (for a better code coverage while testing
  25. # the schedulers)
  26. #
  27. CONFIG_SCHED_AUTOGROUP=y
  28. CONFIG_SCHED_CORE=y
  29. CONFIG_SCHED_MC=y
  30. # Enable fully preemptible kernel for a better test coverage of the schedulers
  31. #
  32. # CONFIG_PREEMPT_NONE is not set
  33. # CONFIG_PREEMPT_VOLUNTARY is not set
  34. CONFIG_PREEMPT=y
  35. CONFIG_PREEMPT_DYNAMIC=y
  36. # Additional debugging information (useful to catch potential locking issues)
  37. CONFIG_DEBUG_LOCKDEP=y
  38. CONFIG_DEBUG_ATOMIC_SLEEP=y
  39. CONFIG_PROVE_LOCKING=y
  40. # Bpftrace headers (for additional debug info)
  41. CONFIG_BPF_EVENTS=y
  42. CONFIG_FTRACE_SYSCALLS=y
  43. CONFIG_DYNAMIC_FTRACE=y
  44. CONFIG_KPROBES=y
  45. CONFIG_KPROBE_EVENTS=y
  46. CONFIG_UPROBES=y
  47. CONFIG_UPROBE_EVENTS=y
  48. CONFIG_DEBUG_FS=y
  49. # Enable access to kernel configuration and headers at runtime
  50. CONFIG_IKHEADERS=y
  51. CONFIG_IKCONFIG_PROC=y
  52. CONFIG_IKCONFIG=y