mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-07 05:34:59 -05:00
Add extended versions of all notify / notify give tracing hooks.
The previous versions of these macros did not hygienically expose what task was being notified, and how/if the notification value was notified.
This commit is contained in:
parent
e786375a1c
commit
ab558f5f97
2 changed files with 23 additions and 2 deletions
|
|
@ -1021,14 +1021,35 @@
|
|||
#define traceTASK_NOTIFY( uxIndexToNotify )
|
||||
#endif
|
||||
|
||||
#ifndef traceTASK_NOTIFY_EXT
|
||||
|
||||
/* Extended version of traceTASK_NOTIFY that also exposes the task being
|
||||
* notified, and if/how the notification value was modified. */
|
||||
#define traceTASK_NOTIFY_EXT( pxTCB, uxIndexToNotify, eAction, xReturn ) traceTASK_NOTIFY( uxIndexToNotify )
|
||||
#endif
|
||||
|
||||
#ifndef traceTASK_NOTIFY_FROM_ISR
|
||||
#define traceTASK_NOTIFY_FROM_ISR( uxIndexToNotify )
|
||||
#endif
|
||||
|
||||
#ifndef traceTASK_NOTIFY_FROM_ISR_EXT
|
||||
|
||||
/* Extended version of traceTASK_NOTIFY_FROM_ISR that also exposes the task
|
||||
* being notified, and if/how the notification value was modified. */
|
||||
#define traceTASK_NOTIFY_FROM_ISR_EXT( pxTCB, uxIndexToNotify, eAction, xReturn ) traceTASK_NOTIFY_FROM_ISR( uxIndexToNotify )
|
||||
#endif
|
||||
|
||||
#ifndef traceTASK_NOTIFY_GIVE_FROM_ISR
|
||||
#define traceTASK_NOTIFY_GIVE_FROM_ISR( uxIndexToNotify )
|
||||
#endif
|
||||
|
||||
#ifndef traceTASK_NOTIFY_GIVE_FROM_ISR_EXT
|
||||
|
||||
/* Extended version of traceTASK_NOTIFY_GIVE_FROM_ISR that also exposes the task
|
||||
* being notified. */
|
||||
#define traceTASK_NOTIFY_GIVE_FROM_ISR_EXT( pxTCB, uxIndexToNotify ) traceTASK_NOTIFY_GIVE_FROM_ISR( uxIndexToNotify )
|
||||
#endif
|
||||
|
||||
#ifndef traceTASK_NOTIFY_STATE_CLEAR
|
||||
#define traceTASK_NOTIFY_STATE_CLEAR( pxTCB, uxIndexToNotify )
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue