@@ -1116,6 +1116,16 @@ void sched_note_preemption(FAR struct tcb_s *tcb, bool locked)
11161116
11171117 spin_unlock_irqrestore_notrace (& g_note_lock , flags );
11181118}
1119+
1120+ void sched_note_preempt_lock (FAR struct tcb_s * tcb )
1121+ {
1122+ sched_note_preemption (tcb , true);
1123+ }
1124+
1125+ void sched_note_preempt_unlock (FAR struct tcb_s * tcb )
1126+ {
1127+ sched_note_preemption (tcb , false);
1128+ }
11191129#endif
11201130
11211131#ifdef CONFIG_SCHED_INSTRUMENTATION_CSECTION
@@ -1159,6 +1169,16 @@ void sched_note_csection(FAR struct tcb_s *tcb, bool enter)
11591169 note_add (* driver , & note , note .ncs_cmn .nc_length );
11601170 }
11611171}
1172+
1173+ void sched_note_csection_enter (FAR struct tcb_s * tcb )
1174+ {
1175+ sched_note_csection (tcb , true);
1176+ }
1177+
1178+ void sched_note_csection_leave (FAR struct tcb_s * tcb )
1179+ {
1180+ sched_note_csection (tcb , false);
1181+ }
11621182#endif
11631183
11641184/****************************************************************************
@@ -1416,6 +1436,16 @@ void sched_note_irqhandler(int irq, FAR void *handler, bool enter)
14161436 note_add (* driver , & note , note .nih_cmn .nc_length );
14171437 }
14181438}
1439+
1440+ void sched_note_irq_enter (int irq , FAR void * handler )
1441+ {
1442+ sched_note_irqhandler (irq , handler , true);
1443+ }
1444+
1445+ void sched_note_irq_leave (int irq , FAR void * handler )
1446+ {
1447+ sched_note_irqhandler (irq , handler , false);
1448+ }
14191449#endif
14201450
14211451#ifdef CONFIG_SCHED_INSTRUMENTATION_WDOG
@@ -1455,6 +1485,26 @@ void sched_note_wdog(uint8_t event, FAR void *handler, FAR const void *arg)
14551485
14561486 leave_critical_section_notrace (flags );
14571487}
1488+
1489+ void sched_note_wdog_start (FAR void * handler , FAR const void * arg )
1490+ {
1491+ sched_note_wdog (NOTE_WDOG_START , handler , arg );
1492+ }
1493+
1494+ void sched_note_wdog_cancel (FAR void * handler , FAR const void * arg )
1495+ {
1496+ sched_note_wdog (NOTE_WDOG_CANCEL , handler , arg );
1497+ }
1498+
1499+ void sched_note_wdog_enter (FAR void * handler , FAR const void * arg )
1500+ {
1501+ sched_note_wdog (NOTE_WDOG_ENTER , handler , arg );
1502+ }
1503+
1504+ void sched_note_wdog_leave (FAR void * handler , FAR const void * arg )
1505+ {
1506+ sched_note_wdog (NOTE_WDOG_LEAVE , handler , arg );
1507+ }
14581508#endif
14591509
14601510#ifdef CONFIG_SCHED_INSTRUMENTATION_HEAP
@@ -1498,6 +1548,30 @@ void sched_note_heap(uint8_t event, FAR void *heap, FAR void *mem,
14981548 note_add (* driver , & note , note .nhp_cmn .nc_length );
14991549 }
15001550}
1551+
1552+ void sched_note_heap_add (FAR void * heap , FAR void * mem ,
1553+ size_t size , size_t used )
1554+ {
1555+ sched_note_heap (NOTE_HEAP_ADD , heap , mem , size , used );
1556+ }
1557+
1558+ void sched_note_heap_remove (FAR void * heap , FAR void * mem ,
1559+ size_t size , size_t used )
1560+ {
1561+ sched_note_heap (NOTE_HEAP_REMOVE , heap , mem , size , used );
1562+ }
1563+
1564+ void sched_note_heap_alloc (FAR void * heap , FAR void * mem ,
1565+ size_t size , size_t used )
1566+ {
1567+ sched_note_heap (NOTE_HEAP_ALLOC , heap , mem , size , used );
1568+ }
1569+
1570+ void sched_note_heap_free (FAR void * heap , FAR void * mem ,
1571+ size_t size , size_t used )
1572+ {
1573+ sched_note_heap (NOTE_HEAP_FREE , heap , mem , size , used );
1574+ }
15011575#endif
15021576
15031577#ifdef CONFIG_SCHED_INSTRUMENTATION_DUMP
0 commit comments