mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-26 01:07:13 +00:00
Add traceMALLOC() and traceFREE() macros.
This commit is contained in:
@@ -229,6 +229,8 @@ void *pvReturn = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
traceMALLOC( pvReturn, xWantedSize );
|
||||
}
|
||||
xTaskResumeAll();
|
||||
|
||||
@@ -277,6 +279,7 @@ xBlockLink *pxLink;
|
||||
/* Add this block to the list of free blocks. */
|
||||
xFreeBytesRemaining += pxLink->xBlockSize;
|
||||
prvInsertBlockIntoFreeList( ( ( xBlockLink * ) pxLink ) );
|
||||
traceFREE( pv, pxLink->xBlockSize );
|
||||
}
|
||||
xTaskResumeAll();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user