Skip to content
Snippets Groups Projects
Commit 8472762f authored by Florian Fischer's avatar Florian Fischer
Browse files

fix perf-stats without specifying events

parent 1e5bd357
No related branches found
No related tags found
No related merge requests found
Pipeline #82719 failed
......@@ -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}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment