Merge "simpleperf: refactor app_profiler.py."