This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push: new feabe52fd8 Kconfig: add depends on !SYSLOG_TIMESTAMP to DEBUG_SCHED feabe52fd8 is described below commit feabe52fd8dc4edfdedbb9fc73af678970549980 Author: cuiziwei <cuizi...@xiaomi.com> AuthorDate: Wed Feb 22 14:19:33 2023 +0800 Kconfig: add depends on !SYSLOG_TIMESTAMP to DEBUG_SCHED when using the clock_gettime() function to print the timestamp, the sinfo() function is called, as same as syslog(). But syslog() itself has the ability to print a timestamp, and called clock_gettime(). Thus, the clock_gettime() and syslog() have a recursive call problem. In order to solve this problem, it is necessary to ensure that SYSLOG_TIMESTAMP is close when DEBUG_SCHED is open. Signed-off-by: cuiziwei <cuizi...@xiaomi.com> --- Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/Kconfig b/Kconfig index 0e1a153492..e24ae4f4cd 100644 --- a/Kconfig +++ b/Kconfig @@ -1058,6 +1058,7 @@ endif # DEBUG_WIRELESS config DEBUG_SCHED bool "Scheduler Debug Features" default n + depends on !SYSLOG_TIMESTAMP ---help--- Enable OS scheduler debug features.