How to optimize binary using bolt on Android system (arm64 architecture)?

When I referred to this link: learn.arm.com/.../, I successfully tested performance optimization with the bolt tool on x86 architecture.

When I tested on the Android system (arm64 architecture), I found that the perf tool has been deprecated and only the simpleperf tool can be used for sampling. However, when I try to execute the "perf2bolt -p perf.data -o perf.fdata -nl ./executable" command with the sampled results from simpleperf, I encounter an error: perf2bolt: 'perf.data': The file was not recognized as a valid object file. How can this issue be resolved? Has anyone successfully applied BOLT on the Android system (arm64 architecture)?

I look forward to your reply, thank you.

Parents
  • It sounds like the issue may be related to the format of the simpleperf data not being compatible with perf2bolt. You might want to check if the simpleperf output can be converted or processed into a format that BOLT recognizes. Additionally, ensuring you're using the correct versions of tools compatible with ARM64 could help resolve this.

Reply
  • It sounds like the issue may be related to the format of the simpleperf data not being compatible with perf2bolt. You might want to check if the simpleperf output can be converted or processed into a format that BOLT recognizes. Additionally, ensuring you're using the correct versions of tools compatible with ARM64 could help resolve this.

Children
No data