]> begriffs open source - freertos/commit
Add traceSTARTING_SCHEDULER tracing hook. (#1082)
authorPhilipp Schilk <schilk.philipp@gmail.com>
Mon, 10 Jun 2024 17:44:10 +0000 (19:44 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Jun 2024 17:44:10 +0000 (23:14 +0530)
commite64d1e06b3d9be7b1e14c169affaa9c9674e801c
tree48d32980de677be2d2f3859eda46ef3f48de634d
parentbee9037c464d3ba4c1ef0684daee8c1b11efbc9a
Add traceSTARTING_SCHEDULER tracing hook. (#1082)

* Add traceSTARTING_SCHEDULER tracing hook.

Discussed here: https://forums.freertos.org/t/tracing-improvements/20097

This hook enables tracers to run code on startup after all RTOS
resources are created and to detect that the scheduler is starting without
relying on traceENTER/traceEXIT macros.

It also provides tracers access to the task handle of all IDLE tasks,
allowing them to be identified unambiguously and without relying on
INCLUDE_xTaskGetIdleTaskHandle.
include/FreeRTOS.h
tasks.c