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