Kaben123 opened a new pull request, #18176: URL: https://github.com/apache/nuttx/pull/18176
Export the sched_note_event_ip function as a syscall under CONFIG_SCHED_INSTRUMENTATION_DUMP. This allows user-space or other kernel components to trigger event-type logs via the instrumentation dump mechanism. *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary This PR adds the `sched_note_event_ip` syscall, making the function available to user-space or other kernel components when `CONFIG_SCHED_INSTRUMENTATION_DUMP` is enabled. This change updates the syscall lookup table and syscall definition to support event-type log output through instrumentation. ## Impact - Adds a new syscall entry for `sched_note_event_ip` (only effective if `CONFIG_SCHED_INSTRUMENTATION_DUMP` is enabled). - No impact on existing features or configurations unless the instrumentation dump is enabled. ## Testing - Verified that the syscall is generated and available when the configuration is enabled. - Confirmed that the build passes and the syscall can be invoked as expected. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
