Hi,
I am using latest AOSP master code base in our development system.
We want to experiment as to how we can use the BOLT optimization from LLVM for some performance analysis with Apps
We referred to wiki from Facebook speaking of Bolt and how to integrate but I am bit confused on few areas:
1. It speaks to use the perf.data generated after running our application with llvm-bolt command .
2. Based on the perf.data report generated we plan to optimize the libc.so , so we use something like :
=> llvm-bolt libc.so -o libc.bolt -data=perf.fdata ....
3. So now if we want to use this optimized libc.so bolt lib, is there anyway currently android aosp framework supports or any
suggestions on how we can integrate in complete aosp build after we have this bolt optimized binary ?
As we have seen in PGO , we have the framework to use the prof.data file with the respective modules while compiling the aosp build
by editing its corresponding Android.bp files .
So is there any way we can use the bolt optimized modules in the aosp builds ?
Best Regards
Priyanka