Added index to all trace points. (#69)

pull/78/head
eriktamlin 5 years ago committed by GitHub
parent c4b4156fcf
commit 359b10a4ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -637,7 +637,7 @@ hold explicit before calling the code. */
#endif
#ifndef traceTASK_NOTIFY_TAKE_BLOCK
#define traceTASK_NOTIFY_TAKE_BLOCK()
#define traceTASK_NOTIFY_TAKE_BLOCK( uxIndexToWait )
#endif
#ifndef traceTASK_NOTIFY_TAKE
@ -645,7 +645,7 @@ hold explicit before calling the code. */
#endif
#ifndef traceTASK_NOTIFY_WAIT_BLOCK
#define traceTASK_NOTIFY_WAIT_BLOCK()
#define traceTASK_NOTIFY_WAIT_BLOCK( uxIndexToWait )
#endif
#ifndef traceTASK_NOTIFY_WAIT
@ -653,15 +653,15 @@ hold explicit before calling the code. */
#endif
#ifndef traceTASK_NOTIFY
#define traceTASK_NOTIFY()
#define traceTASK_NOTIFY( uxIndexToNotify )
#endif
#ifndef traceTASK_NOTIFY_FROM_ISR
#define traceTASK_NOTIFY_FROM_ISR()
#define traceTASK_NOTIFY_FROM_ISR( uxIndexToNotify )
#endif
#ifndef traceTASK_NOTIFY_GIVE_FROM_ISR
#define traceTASK_NOTIFY_GIVE_FROM_ISR()
#define traceTASK_NOTIFY_GIVE_FROM_ISR( uxIndexToNotify )
#endif
#ifndef traceSTREAM_BUFFER_CREATE_FAILED

@ -4658,7 +4658,7 @@ TickType_t uxReturn;
if( xTicksToWait > ( TickType_t ) 0 )
{
prvAddCurrentTaskToDelayedList( xTicksToWait, pdTRUE );
traceTASK_NOTIFY_TAKE_BLOCK();
traceTASK_NOTIFY_TAKE_BLOCK( uxIndexToWait );
/* All ports are written to allow a yield in a critical
section (some will yield immediately, others wait until the
@ -4737,7 +4737,7 @@ TickType_t uxReturn;
if( xTicksToWait > ( TickType_t ) 0 )
{
prvAddCurrentTaskToDelayedList( xTicksToWait, pdTRUE );
traceTASK_NOTIFY_WAIT_BLOCK();
traceTASK_NOTIFY_WAIT_BLOCK( uxIndexToWait );
/* All ports are written to allow a yield in a critical
section (some will yield immediately, others wait until the
@ -4862,7 +4862,7 @@ TickType_t uxReturn;
break;
}
traceTASK_NOTIFY();
traceTASK_NOTIFY( uxIndexToNotify );
/* If the task is in the blocked state specifically to wait for a
notification then unblock it now. */
@ -5000,7 +5000,7 @@ TickType_t uxReturn;
break;
}
traceTASK_NOTIFY_FROM_ISR();
traceTASK_NOTIFY_FROM_ISR( uxIndexToNotify );
/* If the task is in the blocked state specifically to wait for a
notification then unblock it now. */
@ -5089,7 +5089,7 @@ TickType_t uxReturn;
semaphore. */
( pxTCB->ulNotifiedValue[ uxIndexToNotify ] )++;
traceTASK_NOTIFY_GIVE_FROM_ISR();
traceTASK_NOTIFY_GIVE_FROM_ISR( uxIndexToNotify );
/* If the task is in the blocked state specifically to wait for a
notification then unblock it now. */

Loading…
Cancel
Save