mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
syscall: add sched_note_event_ip syscall for instrumentation dump
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. Signed-off-by: yukangzhi <yukangzhi@xiaomi.com>
This commit is contained in:
@@ -401,4 +401,5 @@ SYSCALL_LOOKUP(signal, 2)
|
||||
|
||||
#ifdef CONFIG_SCHED_INSTRUMENTATION_DUMP
|
||||
SYSCALL_LOOKUP(sched_note_vprintf_ip, 5)
|
||||
SYSCALL_LOOKUP(sched_note_event_ip, 5)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user