| commit | e887d24a6c4b97b8087e5a284c79f63adaab4fc0 | [log] [tgz] |
|---|---|---|
| author | Stephane Eranian <eranian@gmail.com> | Thu Sep 26 16:38:50 2024 |
| committer | Stephane Eranian <eranian@gmail.com> | Sun Mar 09 05:38:15 2025 |
| tree | 02bf8fdc8445a24ea6d2f31deef4ecfd41b39e6f | |
| parent | ff3291fe3f6d2c280ed2e33c42842e5dc08f38df [diff] |
Add sysfs PMU caching on initialization In order to accommodate the growing number of PMUs active and to handle hybrid processors better, this patch adds sysfs PMU perf_events information caching to avoid going back to sysfs for each encoded event. The caching stores the name of PMU, e.g., armv8_pmu3, and the perf_events type which is then use to build the perf_events encoding. Signed-off-by: Stephane Eranian <eranian@gmail.com>