[roll] Roll fuchsia [perfmon][x86] Register events for only the current CPU family/model
Every family/model of Intel CPUs has different model-specific and misc
performance counters/events. Register only events for the current
family/model of processor with perf_mon - this prevents mistakes where
cpspec files for one type of processor produce invalid data silently on
other types of processors.
Before this, we would use events from the "skylake" group even on
other processors; for fixed-function counters, this would work, but
for model specific or "misc" ones, it would not.
Currently we only support Skylake and partially support Goldmont CPUs.
Tested:
* Intel(R) Celeron(R) CPU J3455 @ 1.50GHz ('goldmont')
cpuperf --spec-file=/tmp/basic-cpu.cpspec (in-tree)
w/ model_name: "goldmont"
Currently the default model name is still Skylake, so non-skylake
systems will need to specify model_name in their cpspec files.
Original-Bug: 33981 Fuchsia should run on Intel NUC6CAYH
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/618623
Original-Revision: 793ec6dcaa63e484a21ab42418e78ecb5c72f50a
GitOrigin-RevId: d6da7368130f685fd60d66839cd46b26e9d9f935
Change-Id: I0e3b189fe6922d9b6b75e3ec2549fd228127d968
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.