This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] Linux/AM3352:如何编译 Perf 工具

Guru**** 2589265 points
Other Parts Discussed in Thread: AM3352

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/591402/linux-am3352-how-to-compile-perf-tool

器件型号:AM3352

工具/软件:Linux

大家好、


-我需要使用 perf 工具来检查我的板的性能。

-我在内核配置文件中启用了针对每种工具的所有配置,并构建了内核。

-成功编译后,转至 CD     tools/perf

-make ----它出现错误。

1) 1)请告诉我如何编译 perf、在 stpes 中解释?

-内核- 4.19当前用于 AM3352

此致、

Vamsi。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    您观察到的误差是多少?

    您是否尝试过:

    导出路径=/.../gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:$path
    CD.../tools/perf
    使 arch=arm cross_compile=/..../ti-processor-sdk-linux-am57xx-evm-03.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- perf

    我认为应该安装一些补充材料,如:柔性、野牛等

    BR
    玛格丽塔

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Margrita、

    我已经执行了这些操作、我还编译了 perf。

    感谢您重放、

    此致、
    Vamsi。