Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create_perf_json: Support EventCode FIXED
This commit unsets EventCode for FIXED events. Previously for fixed events the EventCode was 0x00. The get() helper used to process JSON attributes drops 0x00 (returns None). Here we add an extra check to also set event_code to None if EventCode is FIXED. Example FIXED event: { "EventCode": "FIXED", "UMask": "0x01", "EventName": "INST_RETIRED.ANY", "Counter": "Fixed counter 0", "CounterHTOff": "Fixed counter 0", <snip> "Offcore": "0", "Deprecated": "0" }
- Loading branch information