Skip to content
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

Add ability to create Linux perf event and metric json #27

Closed
wants to merge 19 commits into from
Closed

Add ability to create Linux perf event and metric json #27

wants to merge 19 commits into from

Commits on Nov 18, 2022

  1. Scale unit fix for perf files

    calebbiggers authored and captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    8329d30 View commit details
    Browse the repository at this point in the history
  2. Add create_perf_json.py

    Add new script that will create the Linux perf command json
    files. Initially the command parses ../mapfile.csv and generates the
    perf version of this file in perf/mapfile.csv.
    captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    09402ee View commit details
    Browse the repository at this point in the history
  3. Add perf event json creation

    Parse the perfmon event json and generate perf style json. The output
    exactly matches the existing event json event except some unused, by
    perf/jevents.py, dictionary values are dropped. Specifically the
    following are no longer passed through: CollectPEBSRecord, Counter,
    CounterHTOff, ELLC, L1_Hit_Indication and Offcore.
    captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    a64da86 View commit details
    Browse the repository at this point in the history
  4. Add uncore perf json generation support

    Reuse the existing conversion but extend for uncore and
    uncore_experimental. Add necessary fix ups to keep the perf json near
    identical to existing pref json. Differences include:
    - don't remove events that have a "tbd" description
    - sort events
    - ascii-fication during reading
    No support currently for the CSV file customization of events.
    captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    ace2bbd View commit details
    Browse the repository at this point in the history
  5. Add uncore CSV support

    Uncore CSV files modify or duplicate events, the duplicated events can
    add 'filter' values to the event that make it more specific. Metrics
    may also be generated.
    
    Differences from previous approach:
     - When a new event is created then this is updated rather than the
       existing event.
     - If an event has a filter and is in the CSV file but with no filter,
       then filter value isn't dropped.
     - Events without descriptions aren't dropped.
     - There is clean up of strings to remove unnecessary whitespace and
       avoid duplicated descriptions.
     - For tigerlake there are duplicated events with different units, the
       first rather than the second event is dropped (unit 'imc' rather
       than 'h_imc').
    captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    b3ef4a1 View commit details
    Browse the repository at this point in the history
  6. TMA metric support

    Support conversion of TMA metrics and E-core TMA metrics. Verification
    that events in the metric exist is performed, from this a minimal set
    of fixups are created and more metrics supported. For BDW-DE 3 metrics
    are explicitly dropped due to missing events. The valkyrie metrics
    aren't inserted currently.
    captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    6a839ca View commit details
    Browse the repository at this point in the history
  7. Support for extra metrics

    Load extra metrics such as ICX/metrics/perf/icx_metric_perf.json. Use
    the save_form function so that missing events are identified.
    captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    05ee021 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    accc31f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c3fa607 View commit details
    Browse the repository at this point in the history
  10. README: Add TMA section

    This commit introduces a brief section describing TMA files.
    edwarddavidbaker authored and captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    22eed59 View commit details
    Browse the repository at this point in the history
  11. SPR: Release v1.07 events

    This commit releases v1.07 event files for Sapphire Rapids.
    edwarddavidbaker authored and captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    4904967 View commit details
    Browse the repository at this point in the history
  12. ADL: Release v1.16 events

    This commit releases v1.16 event files for Alder Lake.
    edwarddavidbaker authored and captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    e936b95 View commit details
    Browse the repository at this point in the history
  13. TGL: Release v1.08 events

    This commit releases v1.08 event files for Tiger Lake. An uncore
    experimental event file is also introduced.
    edwarddavidbaker authored and captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    aa9ee8d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    17cda09 View commit details
    Browse the repository at this point in the history
  15. Update README.md

    1perrytaylor authored and captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    3a59bea View commit details
    Browse the repository at this point in the history
  16. SPR: Release v1.08 events

    This commit releases v1.08 event files for Sapphire Rapids.
    edwarddavidbaker authored and captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    66e3320 View commit details
    Browse the repository at this point in the history
  17. mapfile: Replace v1 with V1

    The mapfile Version column primarily uses capital V. This commit fixes a
    few of my previous updates with lower case v.
    edwarddavidbaker authored and captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    b95da22 View commit details
    Browse the repository at this point in the history
  18. Update README.md

    Leftover from the repository rename.
    termim authored and captain5050 committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    14f00e8 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    30f08ac View commit details
    Browse the repository at this point in the history