1

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.

Saty Anand
  • 480
  • 3
  • 11

1 Answers1

0

msm kernel has an extra "load" parameter added for trace_sched_migrate_task(), see commit adding load in msm-4.4

LTTng does not provide support for it currently as you can see in the definition in LTTng sources. Adding the support would require just detecting the msm kernel and adding the parameter.