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 Reply Children