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 1fa7d39 commit 228133dCopy full SHA for 228133d
2 files changed
Lib/profiling/sampling/__init__.py
@@ -4,8 +4,9 @@
4
call stack rather than tracing every function call.
5
"""
6
7
-from profiling.sampling.collector import Collector
8
-from profiling.sampling.pstats_collector import PstatsCollector
9
-from profiling.sampling.stack_collector import CollapsedStackCollector
+from .collector import Collector
+from .pstats_collector import PstatsCollector
+from .stack_collector import CollapsedStackCollector
10
+from .pyroscope_collector import PyroscopeCollector
11
12
__all__ = ("Collector", "PstatsCollector", "CollapsedStackCollector")
Lib/profiling/sampling/__main__.py
@@ -1,6 +1,6 @@
1
"""Run the sampling profiler from the command line."""
2
3
-from profiling.sample import main
+from .sample import main
if __name__ == '__main__':
main()
0 commit comments