diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-06-28 09:03:45 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-06-28 22:36:50 +0200 |
commit | 5f30f6f58ab25a9c53a03660b8cda5ee0360bc6d (patch) | |
tree | eb749f57a6139f7f83a2b06003d6ee82cf8f4df2 /drivers/pinctrl/pinctrl-stm32.c | |
parent | 560b8961e43cab7951a10dc06380d8038f8c3794 (diff) | |
download | barebox-5f30f6f58ab25a9c53a03660b8cda5ee0360bc6d.tar.gz barebox-5f30f6f58ab25a9c53a03660b8cda5ee0360bc6d.tar.xz |
driver: add CONFIG_DEBUG_PROBES
CONFIG_DEBUG_INITCALLS can be very useful to roughly pinpoint what
causes barebox to hang. With deep probe, most probes run at the same
initcall level making the debug option much less useful.
Add a new CONFIG_DEBUG_PROBES that will instead log whenever a probe is
invoked. The text's horizontal alignment is increased with each
recursive probe making the option suitable for debugging some deep probe
issues as well.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20210628070345.13838-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/pinctrl/pinctrl-stm32.c')
0 files changed, 0 insertions, 0 deletions