I have been trying to do it using the arm64 toolchain but got an error error: unrecognized command line option '-mgeneral-regs-only'
. On googling thi suggested I use the aarch64 toolchain for msm, which I did. But now I'm getting this error error: conflicting types for 'trace_sched_migrate_task'
void trace_##_name(_proto);
/local/mnt2/workspace/kernel/include/linux/tracepoint.h:168:21: note: previous definition of 'trace_sched_migrate_task' was here
static inline void trace_##name(proto)
Although the same compiles on another Linux system with the same function definitions.