[Feature Request] distinguish traceTASK_SWITCHED_IN

Abierto
#1,279 5 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
22/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
c

Línea de trabajo

Start with the traceTASK_SWITCHED_IN call sites in task.c, where the issue says the macro runs both before the scheduler starts and inside an ISR, and with the macro's definition elsewhere in the kernel. The issue does not settle how the two cases should be told apart or whether xCoreID should be passed uniformly, so the first step is agreeing that design with maintainers. Done means an agreed macro signature or flag, with every call site in task.c updated consistently.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

traceTASK_SWITCHED_IN is used on multiple places in task.c

it is called before the scheduler started or it can be called inside an ISR.

That doesn't help to optimize on some uses / implementation to know if is inside an ISR or not.

Also, xCoreID is available on some case and not on others.
It may help to uniformize it somehow.

Lenguaje dominante
C
Estrellas
4.6k
Forks
1.6k
Merge medio
2 d 22 h
PR fusionados (30 d)
4

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de FreeRTOS/FreeRTOS-Kernel

Todos los issues de FreeRTOS/FreeRTOS-Kernel

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.