diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-01-13 17:04:13 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-01-14 08:52:44 +0100 |
commit | 3f256724b98fb3784a6caf3cff77f957d46bead9 (patch) | |
tree | 5b808d5e28c07ba8e155c4180ee5b6528ee0cae6 /common | |
parent | 32a699ef11325c322ccd6045de1169f670ae976e (diff) | |
download | barebox-3f256724b98fb3784a6caf3cff77f957d46bead9.tar.gz barebox-3f256724b98fb3784a6caf3cff77f957d46bead9.tar.xz |
driver: have CONFIG_DEBUG_PROBES report device unbind as well
This aligns it with DEBUG_INITCALLS, which also traces exitcalls.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220113160414.3943151-2-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/common/Kconfig b/common/Kconfig index 814b820e2a..3d289b2617 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1501,9 +1501,15 @@ config DEBUG_INITCALLS If enabled this will print initcall traces. config DEBUG_PROBES - bool "Trace driver probes" + bool "Trace driver probes/removes" help - If enabled this will print driver probe traces. + If enabled this will log driver probe and remove traces. If DEBUG_LL is enabled, + probes will be printed even before registering consoles. If it's disabled, they + will be collected in the log and written out once a console is active. + + Removes are written to the log and will be printed as long as consoles exist. + Most consoles do not implement a remove callback to remain operable until + the very end. Consoles using DMA, however, must be removed. config PBL_BREAK bool "Execute software break on pbl start" |