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:
yukangzhi
2025-04-30 15:13:17 +08:00
committed by Xiang Xiao
parent 49cb8e08e6
commit 2f9d16372c
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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