From 53c84c7b60a4dabc0f3f60823b487e8177380147 Mon Sep 17 00:00:00 2001 From: "Nakamura, Yuuichi" Date: Thu, 18 Jun 2020 14:24:10 +0900 Subject: [PATCH] Fix note type id for syscall enter/leave --- sched/sched/sched_note.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sched/sched/sched_note.c b/sched/sched/sched_note.c index c952ca8972..3d9748d60e 100644 --- a/sched/sched/sched_note.c +++ b/sched/sched/sched_note.c @@ -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;