From afd7ce30eec8f03603431e81e6f5edbf92307654 Mon Sep 17 00:00:00 2001 From: Douglas Teles Date: Sat, 18 Apr 2026 15:33:55 -0300 Subject: [PATCH] Restore DEBUG_FS=y for development/bench phase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DEBUG_FS provides instrumentation needed by TODO items 1 and 6: - /sys/kernel/debug/dri/*/name — GPU performance counters - /sys/kernel/debug/cma/* — per-region CMA page accounting - /sys/kernel/debug/block/* — I/O scheduler stats (BLK_DEBUG_FS) - Detailed thermal zone introspection Trade-off acknowledged: small runtime overhead from debugfs mount, but the instrumentation granularity is essential while we're actively benchmarking and tuning. Switch to DEBUG_FS=n or DISALLOW_MOUNT for release-final builds once FASE 1-2 benchmarks are complete. Co-Authored-By: Claude Opus 4.6 (1M context) --- projects/ArchR/devices/RK3326/linux/linux.aarch64.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/projects/ArchR/devices/RK3326/linux/linux.aarch64.conf b/projects/ArchR/devices/RK3326/linux/linux.aarch64.conf index c1a6d5b5f2..7af9922c3f 100644 --- a/projects/ArchR/devices/RK3326/linux/linux.aarch64.conf +++ b/projects/ArchR/devices/RK3326/linux/linux.aarch64.conf @@ -784,7 +784,7 @@ CONFIG_BLK_DEV_WRITE_MOUNTED=y # CONFIG_BLK_CGROUP_IOPRIO is not set CONFIG_BLK_CGROUP_RWSTAT=y CONFIG_BLK_ICQ=y -# CONFIG_BLK_DEBUG_FS is not set +CONFIG_BLK_DEBUG_FS=y # CONFIG_BLK_SED_OPAL is not set # CONFIG_BLK_INLINE_ENCRYPTION is not set @@ -6731,7 +6731,10 @@ CONFIG_FRAME_POINTER=y # Generic Kernel Debugging Instruments # # CONFIG_MAGIC_SYSRQ is not set -# CONFIG_DEBUG_FS is not set +CONFIG_DEBUG_FS=y +CONFIG_DEBUG_FS_ALLOW_ALL=y +# CONFIG_DEBUG_FS_DISALLOW_MOUNT is not set +# CONFIG_DEBUG_FS_ALLOW_NONE is not set CONFIG_HAVE_ARCH_KGDB=y # CONFIG_KGDB is not set CONFIG_ARCH_HAS_UBSAN=y