kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/sysview_trace_taskid' into 'master'
freertos: fix task ID sent to the trace See merge request idf/esp-idf!3807pull/2770/head
commit
98884b4f6c
|
@ -2951,7 +2951,7 @@ TickType_t xTimeToWake;
|
||||||
/* Add the task to the suspended task list instead of a delayed task
|
/* Add the task to the suspended task list instead of a delayed task
|
||||||
list to ensure the task is not woken by a timing event. It will
|
list to ensure the task is not woken by a timing event. It will
|
||||||
block indefinitely. */
|
block indefinitely. */
|
||||||
traceMOVED_TASK_TO_SUSPENDED_LIST(pxCurrentTCB);
|
traceMOVED_TASK_TO_SUSPENDED_LIST(pxCurrentTCB[ xPortGetCoreID() ]);
|
||||||
vListInsertEnd( &xSuspendedTaskList, &( pxCurrentTCB[ xPortGetCoreID() ]->xGenericListItem ) );
|
vListInsertEnd( &xSuspendedTaskList, &( pxCurrentTCB[ xPortGetCoreID() ]->xGenericListItem ) );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -4651,7 +4651,7 @@ TickType_t uxReturn;
|
||||||
of a delayed task list to ensure the task is not
|
of a delayed task list to ensure the task is not
|
||||||
woken by a timing event. It will block
|
woken by a timing event. It will block
|
||||||
indefinitely. */
|
indefinitely. */
|
||||||
traceMOVED_TASK_TO_SUSPENDED_LIST(pxCurrentTCB);
|
traceMOVED_TASK_TO_SUSPENDED_LIST(pxCurrentTCB[ xPortGetCoreID() ]);
|
||||||
vListInsertEnd( &xSuspendedTaskList, &( pxCurrentTCB[ xPortGetCoreID() ]->xGenericListItem ) );
|
vListInsertEnd( &xSuspendedTaskList, &( pxCurrentTCB[ xPortGetCoreID() ]->xGenericListItem ) );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -4767,7 +4767,7 @@ TickType_t uxReturn;
|
||||||
of a delayed task list to ensure the task is not
|
of a delayed task list to ensure the task is not
|
||||||
woken by a timing event. It will block
|
woken by a timing event. It will block
|
||||||
indefinitely. */
|
indefinitely. */
|
||||||
traceMOVED_TASK_TO_SUSPENDED_LIST(pxCurrentTCB);
|
traceMOVED_TASK_TO_SUSPENDED_LIST(pxCurrentTCB[ xPortGetCoreID() ]);
|
||||||
vListInsertEnd( &xSuspendedTaskList, &( pxCurrentTCB[ xPortGetCoreID() ]->xGenericListItem ) );
|
vListInsertEnd( &xSuspendedTaskList, &( pxCurrentTCB[ xPortGetCoreID() ]->xGenericListItem ) );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Ładowanie…
Reference in New Issue