Skip to content

Commit f43f7c4

Browse files
fixed initialization issue
1 parent b14d091 commit f43f7c4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

gprofiler/profilers/perf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,9 @@ def __init__(
179179
perf_inject: bool,
180180
perf_node_attach: bool,
181181
perf_memory_restart: bool,
182+
min_duration: int = 0,
182183
):
183-
super().__init__(frequency, duration, profiler_state)
184+
super().__init__(frequency, duration, profiler_state, min_duration)
184185
self._perfs: List[PerfProcess] = []
185186
self._metadata_collectors: List[PerfMetadata] = [
186187
GolangPerfMetadata(self._profiler_state.stop_event),

0 commit comments

Comments
 (0)