Patching profile capabilities

This commit is contained in:
Miroslav Stampar
2021-01-07 13:52:38 +01:00
parent 0d3889730d
commit ebd2a940cb
9 changed files with 4 additions and 5169 deletions

View File

@@ -182,7 +182,7 @@ def main():
fuzzTest()
else:
from lib.controller.controller import start
if conf.profile and six.PY2:
if conf.profile:
from lib.core.profiling import profile
globals()["start"] = start
profile()