commit | 544fa56bbe864550fcc4585901adba8179eeb4b1 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Fri Dec 01 15:32:00 2023 -0800 |
committer | Yabin Cui <yabinc@google.com> | Mon Dec 04 19:34:40 2023 -0800 |
tree | c090b1705d69dad1de26539eb437dbf3e4dd5160 | |
parent | 82d48057901353b9d6be37c3c3e6079e370c5076 [diff] |
simpleperf: inject cmd: Support reading LBR data 1. In BranchListFile.h, add data structures representing LBR data. 2. In cmd_inject.cpp, add LBRPerfDataReader to extract LBR data from perf.data. 3. Add test checking reading perf.data with LBR data. 4. Also dump symbolized branch stack in the dump cmd. Bug: 293953824 Test: run simpleperf_unit_test Change-Id: Icae497f9f58b9523ae9feaba4bf10313e8f27d50