Skip to content

WIP: ci: Verify mapfile.csv metric entries #314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

edwarddavidbaker
Copy link
Contributor

This pull request expands automated mapfile.csv checks. Specifically focusing on content such as https://github.com/intel/perfmon/blob/main/GNR/metrics/graniterapids_retire_latency.json and https://github.com/intel/perfmon/blob/main/GNR/metrics/graniterapids_metrics.json . The goal is to prevent accidents when updating mapfile.csv. See #312 as an example where I previously dropped retire latency data.

  • Checks that mapfile rows for a specific model only reference one directory. Similar platform acronyms (GNR, GRR) can be error prone.
  • Checks that all files **/metrics/*.json are mentioned in mapfile.csv.
  • A few exceptions are included.
    • Errors for GenuineIntel-6-BE missing alderlake_metrics_goldencove_core.json are ignored. ADL-N is an E-Core only product.
    • Errors related to sapphirerapidshbm_metrics.json are ignored. Only sapphirerapids_metrics.json will be mentioned in mapfile.csv.

Follow-up commits add missing files to mapfile.csv as identified by this check.

This commit expands mapfile checks for metric files. The goal is to
avoid deleting or forgetting mapfile.csv entries for metric files. See
[1] for an example.

[1] intel#312
Add entries for TGL/metrics/tigerlake_metrics.json.
This commit ignores missing references for
sapphirerapidshbm_metrics.json. Sapphire Rapids products, including
HBM models, use 0x8F. Entries in mapfile.csv point to the main
sapphirerapids_metrics.json.
Add mapfile.csv entries for ADL GLC metrics.
Add mapfile.csv entries for MTL RWC metrics.
Add mapfile.csv entries for MTL LNC metrics.
Add mapfile.csv entries for ARL LNC metrics.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant