This is a feature request. Would it be a big burden on performance to enable IO accounting features in the next kernel released?
I’m trying to track down performance issues with my phone. Performance monitor tools will tell me that my phone is hitting 100% on storage I/O which makes my phone painfully slow, but there’s no way to trace which process is responsible.
I’d like to use the iotop script to trace it, but the kernel doesn’t have the necessary IO accounting enabled.
I think this will take some time. So far they have not released the (“compileable”) sources with a full “build howto” for both of their phones. The last update sounded promising.
It’s just a script accessing the kernel info, so for the older kernel you could just do this:
$ TARGET_BUILD_VARIANT=user TARGET_PRODUCT=ahong89_wet_jb2 MTK_ROOT_CUSTOM=../mediatek/custom/ make
It compiles here. But without using illegal sources one cannot build a rom. But maybe the new kernel can ‘slipped’ into the builds published by the FP project?