from line_profiler import LineProfiler
lp = LineProfiler()
profile = lp.runcall

from line_profiler import LineProfiler
lp = LineProfiler()
lp.enable_profile_all()
profile = lp.runcall

Use new version of line profiler
[pylprof] Use new version of line profiler
