繁体   English   中英

如何为arm64交叉编译lttng-modules?

[英]How to cross compile lttng-modules for arm64?

我一直在尝试使用arm64工具链来执行此操作,但出现错误error: unrecognized command line option '-mgeneral-regs-only' 在谷歌搜索上,我建议我将aarch64工具链用于msm,我这样做了。 但是现在我得到了这个错误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) 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)

尽管它们可以在具有相同功能定义的另一个Linux系统上编译。

msm内核为trace_sched_migrate_task()添加了一个额外的“负载”参数,请参阅在msm-4.4中提交添加负载

正如您在LTTng源的定义中所看到的那样,LTTng当前不提供对此的支持。 添加支持仅需要检测msm内核并添加参数。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM