Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
Instead of fixing the error perfectly, I simply copied the 'mali_linux_trace.h' into gator-driver folder and modified the gator-driver source code since the 'mali_linux_trace.h' is linked when building.