Build error with XENO_OPT_DEBUG=y
Hi,
I've noticed that if I have XENO_OPT_DEBUG=y and XENO_OPT_DEBUG_LOCKING=n, I get build errors with an undefined reference to `xnlock_stats'.
In the Kconfig, XENO_OPT_DEBUG_LOCKING is enabled by default for SMP and XENO_OPT_DEBUG, but there is no hard dependency.
The use case here is if I want to debug something else and don't want to incur the overhead of lock debugging.
This looks like a bug to me, and I just want to confirm that.
Thanks,
Dmitriy
Update: Only happens on incremental build. Running a "make clean" fixed it.
-Dmitriy