commit | 78d5501d6455926d30ee841a763586c8f60667c6 | [log] [tgz] |
---|---|---|
author | Yabin Cui <[email protected]> | Wed Dec 18 13:54:57 2024 -0800 |
committer | Yabin Cui <[email protected]> | Wed Dec 18 14:00:42 2024 -0800 |
tree | d10050c12ed88c6e5e216e1f13013d5e50baf4eb | |
parent | fcf5c09690361f90fd065f16e9ad50c2dd2ae4b0 [diff] |
simpleperf: Fix BR_INST_RETIRED.NEAR_TAKEN for Intel Atom CPUs Intel Atom CPUs use a different umask for BR_INST_RETIRED.NEAR_TAKEN, as shown in https://github.com/intel/perfmon/blob/main/scripts/perf/alderlake/pipeline.json#L303. This patch detects Intel Atom CPUs and changes config when opening perf event files on those CPUs. Bug: 345410289 Test: run simpleperf manually Test: run simpleperf_unit_test Change-Id: Ic17bf663fa77c3fbd2df446ba941755a1cd51958