diff --git a/eval.py b/eval.py
index c960c7c3f82e0c59d2e5dba28943a5bf7a9c184c..0b84206490850a1cc81761092621a65b98e4ad00 100755
--- a/eval.py
+++ b/eval.py
@@ -79,7 +79,7 @@ def main(args):
             perf_out = RESULT_DIR / f'{target}.perf.data'
             cmd = f'{PERF_EXE} record --call-graph dwarf -o {perf_out} {cmd}'
 
-        elif args.perf_stats or args.perf_record:
+        elif args.perf_stats is not None or args.perf_record:
             perf_event_selection = ','.join(
                 args.perf_stats) if args.perf_stats else f'-e {PERF_EVENTS}'