Add ioblame python script.
- This script provides UID -> PID -> File level breakdowns of reads and
writes.
- Improves the post processing time significatly for large trace files.
- Use package metadata from package manager to map UIDs to package
names.
- Outputs per-UID disk I/O usage reported by the kernel in addition to
the disk I/O usage reported in the Android FS trace.
- On automotive form-factors, uses CarWatchdog native service to monitor
disk I/O stats and dumps them in the output directory.
Test: python3 ioblame.py --trace_writes
Bug: 219544262
Change-Id: I7d42f66e9a354197e0f444afddd1f0b6ad1bba47
3 files changed