patacongo commented on a change in pull request #1271:
URL: https://github.com/apache/incubator-nuttx/pull/1271#discussion_r443132145



##########
File path: sched/Kconfig
##########
@@ -975,7 +975,7 @@ config SCHED_INSTRUMENTATION_SPINLOCKS
 config SCHED_INSTRUMENTATION_SYSCALL
        bool "System call monitor hooks"
        default n
-       depends on LIB_SYSCALL && ARCH_HAVE_SYSCALL_HOOKS
+       depends on ARCH_HAVE_SYSCALL_HOOKS

Review comment:
       You still need the CONFIG_LIB_SYSCALL dependency to hide the menu 
option.  It is not needed for the instrumentation, but it is needed to keep 
garbage selections  out of the menus.  Otherwise the menu selection will always 
be available even  when it is not appropriate.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to