traceTASK_SWITCHED_IN() macro setup for ARM cortex A72/A53

I have a port of FreeRTOS V10.4.3 on ARM A72/A53 based on FreeRTOSv202012.00 LTS.
I’d like to enable the task trace facility in my debug tool and to do this I need to define the traceTASK_SWITCHED_IN() macro.
I did it in the past for 32 bit armv7 cortex A15 but it is not compatible with armv8 cortex A72 for example.
Any help ?

traceTASK_SWITCHED_IN macro is called from the common tasks.c file:

What do you mean by it is not compatible?

Hi @Hugo,

Were you able to able to resolve this issue? If not, could you describe how the macro is not compatible so that we may better assist you?