Add SCHED_INSTRUMENTATION_HIRES support

This commit is contained in:
Nakamura, Yuuichi
2020-09-03 15:18:12 +09:00
committed by Xiang Xiao
parent e1b9c278f8
commit d8d19911ef
4 changed files with 34 additions and 0 deletions
+6
View File
@@ -160,7 +160,13 @@ struct note_common_s
uint8_t nc_cpu; /* CPU thread/task running on */
#endif
uint8_t nc_pid[2]; /* ID of the thread/task */
#ifdef CONFIG_SCHED_INSTRUMENTATION_HIRES
uint8_t nc_systime_sec[4]; /* Time when note was buffered (sec) */
uint8_t nc_systime_nsec[4]; /* Time when note was buffered (nsec) */
#else
uint8_t nc_systime[4]; /* Time when note was buffered */
#endif
};
/* This is the specific form of the NOTE_START note */