Perf Hardware Counters Android
I have compiled AOSP which includes perf tool. Later I pushed this compiled perf module into production build on my MotoG device.
Now I am able to run perf command however perf top command only shows empty layout of table with no entry. Similarly I found I can to record and
stat for software events only.
While hardware events like "cycles" are not recorded.
I wonder if it is not possible to use perf with production built android or do I need to configure something. Please help me out.
Em Mon, Sep 21, 2015 at 07:54:49AM +0000, Harris escreveu:
Quoted 9 lines
I have compiled AOSP which includes perf tool. Later I pushed this compiled perf module into production build on my MotoG device.
Now I am able to run perf command however perf top command only shows empty layout of table with no entry. Similarly I found I can to record and
stat for software events only.
While hardware events like "cycles" are not recorded.
Quoted 3 lines
I wonder if it is not possible to use perf with production built android or do I need to configure something. Please help me out.
Please tell us the versions of all the components you mentioned, i.e. what perf tool? What AOSP? What kernel?
- Arnaldo