commit | dd7557cb7102c73c4ea2cb7cff705be4fe9fee6c | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Feb 22 14:44:03 2024 -0800 |
committer | Yabin Cui <yabinc@google.com> | Thu Feb 22 14:58:08 2024 -0800 |
tree | 7559a1ee44eedca4cdb8ce0045a11f9a6b7a7284 | |
parent | bf85f61e2e298d8c0eafcbdbe261f7cab24384e9 [diff] |
simpleperf: Support trace-offcpu modes for report-sample profiles `simpleperf report-sample` converts perf.data into a profile in cmd_report_sample.proto format. This CL supports reading the proto file with different trace offcpu modes in scripts. It uses the same logic as report_lib_interface.cpp in aosp/1896057. Bug: 325484390 Test: run test.py -p TestProtoFileReportLib* Change-Id: I6374fd62890c882cd3b09e6446b1b9f01bff2e4f