Fix note type id for syscall enter/leave
This commit is contained in:
parent
b6ed3392a4
commit
53c84c7b60
|
@ -584,7 +584,7 @@ void sched_note_syscall_enter(int nr, int argc, ...)
|
|||
/* Format the note */
|
||||
|
||||
note_common(tcb, ¬e.nsc_cmn, sizeof(struct note_syscall_enter_s),
|
||||
NOTE_CSECTION_ENTER);
|
||||
NOTE_SYSCALL_ENTER);
|
||||
note.nsc_nr = nr;
|
||||
|
||||
/* Add the note to circular buffer */
|
||||
|
@ -600,7 +600,7 @@ void sched_note_syscall_leave(int nr, uintptr_t result)
|
|||
/* Format the note */
|
||||
|
||||
note_common(tcb, ¬e.nsc_cmn, sizeof(struct note_syscall_leave_s),
|
||||
NOTE_CSECTION_LEAVE);
|
||||
NOTE_SYSCALL_LEAVE);
|
||||
note.nsc_result = result;
|
||||
note.nsc_nr = nr;
|
||||
|
||||
|
|
Loading…
Reference in New Issue