Skip to content

Commit 07827c8

Browse files
committed
fixup! fixup! Fix sampling rgument
1 parent 7ca3bb9 commit 07827c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/profiling/sampling/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def _create_collector(format_type, sample_interval_usec, skip_idle, opcodes=Fals
562562
if format_type == "binary":
563563
if output_file is None:
564564
raise ValueError("Binary format requires an output file")
565-
return collector_class(output_file, interval, skip_idle=skip_idle,
565+
return collector_class(output_file, sample_interval_usec, skip_idle=skip_idle,
566566
compression=compression)
567567

568568
# Gecko format never skips idle (it needs both GIL and CPU data)

0 commit comments

Comments
 (0)