linux_dsm_epyc7002/synology/synoconfigs-spec/CONFIG_DEBUG_OPTIONS.rb
AuxXxilium 5fa3ea047a init: add dsm gpl source
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
2024-07-05 18:00:04 +02:00

37 lines
673 B
Ruby

require 'syno_kconfig'
describe 'Debug options' do
include SynoKconfig
%w[
CONFIG_TRACEPOINTS
CONFIG_DEBUG_INFO
CONFIG_DEBUG_INFO_BTF
CONFIG_SCHED_DEBUG
CONFIG_SLUB_DEBUG
].each do |cfg|
it "#{cfg}=y" do
platforms.verify(cfg, builtin?)
end
end
%w[
CONFIG_DEBUG_ATOMIC_SLEEP
CONFIG_PREEMPT_COUNT
].each do |cfg|
it "#{cfg} is enabled for X86_64 only" do
platforms
.select { |p| p.x86_64? }
.verify(cfg, builtin?)
platforms
.reject { |p| p.x86_64? }
.verify(cfg, disabled?)
end
end
end