mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 08:47:45 -04:00
Updates FreeRTOS-Plus-Trace to a submodule pointer (#1082)
This PR updates FreeRTOS-Plus-Trace to a submodule pointer and updates the relevant project files. Percepio recommends to use streaming to ring buffer on a 64-bit system instead of snapshot and therefore, POSIX demo is updated to use streaming to ring buffer.
This commit is contained in:
parent
d3575643b8
commit
ddb6e58d0a
124 changed files with 71 additions and 26137 deletions
|
@ -305,8 +305,9 @@ static void prvSaveTraceFile( void )
|
|||
if( pxOutputFile != NULL )
|
||||
{
|
||||
{
|
||||
extern TraceRingBuffer_t * RecorderDataPtr;
|
||||
xTraceDisable();
|
||||
fwrite( RecorderDataPtr, sizeof( RecorderDataType ), 1, pxOutputFile );
|
||||
fwrite( RecorderDataPtr, sizeof( TraceRingBuffer_t ), 1, pxOutputFile );
|
||||
fclose( pxOutputFile );
|
||||
printf( "\r\nTrace output saved to Trace.dump\r\n" );
|
||||
xTraceEnable( TRC_START );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue