forked from nuttx/nuttx-update
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 <cuiziwei@xiaomi.com>
This commit is contained in:
parent
c54c9395a5
commit
feabe52fd8
1 changed files with 1 additions and 0 deletions
1
Kconfig
1
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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue