Skip to content

Commit

Permalink
genretlat: Fix for non-hybrid
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Kleen committed Aug 30, 2024
1 parent a2e6808 commit 9394a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genretlat.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def main():
samples[ev].append(weight)
data = { "Data": { ev.upper().replace("CPU_CORE","").replace("/","").replace(":","").replace("RETIRED_", "RETIRED."): gen_stat(s)
for ev, s in samples.items()
if any([x in ev for x in args.pmu]) } }
if "/" not in ev or any([x in ev for x in args.pmu]) } }
json.dump(data, args.output, indent=2, sort_keys=True)
if not args.quiet:
human_output(data)
Expand Down

0 comments on commit 9394a6f

Please sign in to comment.