Skip to content

Commit

Permalink
toplev: Fix --no-uncore filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Dec 11, 2024
1 parent 5fba46c commit 8556ef3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toplev.py
Original file line number Diff line number Diff line change
Expand Up @@ -3503,8 +3503,8 @@ def filter_nodes(self):
mgroups = set() # type: Set[str]

def want_node(obj, mgroups, tma_mgroups):
area = safe_ref(obj, 'area')
if args.no_uncore and area == "Info.System":
mg = safe_ref(obj, 'metricgroup')
if args.no_uncore and mg and "SoC" in mg:
return False
if args.areas and area and any([fnmatch(area, p) for p in args.areas.split(",")]):
return True
Expand Down

0 comments on commit 8556ef3

Please sign in to comment.