From 9394a6f8bd156502752fe2277642d15b828ad6ea Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Thu, 2 May 2024 08:00:29 -0700 Subject: [PATCH] genretlat: Fix for non-hybrid --- genretlat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genretlat.py b/genretlat.py index c988658f..d2e1e6da 100755 --- a/genretlat.py +++ b/genretlat.py @@ -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)