Could you please download the latest version of the FX3 SDK v1.3.3 from the following link:
In this SDK, you can find fx3_profile_debug.
I run into an issue to create a profiling enabled build of my firmware.
Linking the fx3 profiling library is not enough as the ThreadX structures have a different definition when profiling is enabled.
Make sure that CYU3P_PROFILE_EN preprocessor symbol is defined in your project.