@@ -138,6 +138,9 @@ def main():
138138 If the script/module profiled is in `--prof-mod`, autoprofile
139139 all its imports. Only works with line profiling (`-l`/`--line-
140140 by-line`). (Default: False)
141+ --prof-child-procs [Y[es] | N[o] | T[rue] | F[alse] | on | off | 1 | 0]
142+ Extend profiling into child Python processes. Only works with
143+ line profiling (`-l`/`--line-by-line`). (Default: False)
141144
142145 output options:
143146 -o, --outfile OUTFILE
@@ -152,7 +155,7 @@ def main():
152155 -q, --quiet Decrease verbosity level (default: 0). At level -1, disable
153156 helpful messages (e.g. "Wrote profile results to <...>"); at
154157 level -2, silence the stdout; at level -3, silence the stderr.
155- --rich [Y[es] | N[o] | T[rue] | F[alse] | on | off | 1 | 0]
158+ --rich [Y[es] | N[o] | T[rue] | F[alse] | on | off | 1 | 0]
156159 Use rich formatting if viewing output. (Default: False; short
157160 form: -r)
158161 -u, --unit UNIT Output unit (in seconds) in which the timing info is
@@ -1059,7 +1062,7 @@ def _write_preimports(prof, options, exclude, keep=False):
10591062 from line_profiler .autoprofile .autoprofile import (
10601063 _extend_line_profiler_for_profiling_imports as upgrade_profiler ,
10611064 )
1062- from line_profiler .curated_profiling import ClassifiedPreimportTargets
1065+ from line_profiler .curated_profiling import ClassifiedPreimportTargets
10631066
10641067 # We could've done everything in-memory with `io.StringIO` and `exec()`,
10651068 # but that results in indecipherable tracebacks should anything goes wrong;
0 commit comments