Unsupported legacy events are flagged as deprecated. Don't display these events in ilist as they won't open and there are over 1,000 legacy cache events.
Showing the changes to tools/perf/python (1 of 1 file). Show all
Unified · Split
| @@ -439,6 +439,8 @@ class IListApp(App): · 438 unmodified lines | ||
| 439 | 439 | pmu_node = pmus.add(pmu_name) |
| 440 | 440 | try: |
| 441 | 441 | for event in sorted(pmu.events(), key=lambda x: x["name"]): |
| 442 | + if "deprecated" in event: | |
| 443 | + continue | |
| 442 | 444 | if "name" in event: |
| 443 | 445 | e = event["name"].lower() |
| 444 | 446 | if "alias" in event: |