We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad718c5 commit f6c3bb0Copy full SHA for f6c3bb0
codeguru_profiler_agent/profiler_runner.py
@@ -86,10 +86,10 @@ def _run_profiler(self):
86
87
# after the refresh we may be working on a profile
88
if self.is_profiling_in_progress:
89
- sample = self.sampler.sample()
90
- self.collector.add(sample)
91
if self.collector.flush():
92
self.is_profiling_in_progress = False
+ sample = self.sampler.sample()
+ self.collector.add(sample)
93
return True
94
95
def is_running(self):
0 commit comments