The DAMON_STAT_ENABLED_DEFAULT option is strongly tied to DAMON_STAT option -- enabling it alone is meaningless. This patch makes DAMON_STAT_ENABLED_DEFAULT depend on DAMON_STAT, ensuring functional consistency.
Unified · Split
| @@ -104,7 +104,7 @@ config DAMON_STAT · 103 unmodified lines | ||
| 104 | 104 | |
| 105 | 105 | config DAMON_STAT_ENABLED_DEFAULT |
| 106 | 106 | bool "Enable DAMON_STAT by default" |
| 107 | − depends on DAMON_PADDR | |
| 107 | + depends on DAMON_STAT | |
| 108 | 108 | default DAMON_STAT |
| 109 | 109 | help |
| 110 | 110 | Whether to enable DAMON_STAT by default. Users can disable it in |