| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# |
| 3 |
# Generic DPLL drivers configuration |
| 4 |
# |
| 5 |
|
| 6 |
menu "DPLL device support" |
| 7 |
|
| 8 |
config DPLL |
| 9 |
bool |
| 10 |
|
| 11 |
config DPLL_REFCNT_TRACKER |
| 12 |
bool "DPLL reference count tracking" |
| 13 |
depends on DEBUG_KERNEL && STACKTRACE_SUPPORT && DPLL |
| 14 |
select REF_TRACKER |
| 15 |
help |
| 16 |
Enable reference count tracking for DPLL devices and pins. |
| 17 |
This helps debugging reference leaks and use-after-free bugs |
| 18 |
by recording stack traces for each get/put operation. |
| 19 |
|
| 20 |
The tracking information is exposed via debugfs at: |
| 21 |
/sys/kernel/debug/ref_tracker/dpll_device_* |
| 22 |
/sys/kernel/debug/ref_tracker/dpll_pin_* |
| 23 |
|
| 24 |
If unsure, say N. |
| 25 |
|
| 26 |
source "drivers/dpll/zl3073x/Kconfig" |
| 27 |
|
| 28 |
endmenu |