(args, parent_pid)
| 109 | } |
| 110 | |
| 111 | def _setup_child_monitor(args, parent_pid): |
| 112 | # Build CLI args for child profilers (excluding --subprocesses to avoid recursion) |
| 113 | child_cli_args = _build_child_profiler_args(args) |
| 114 | |
| 115 | # Build output pattern |
| 116 | output_pattern = _build_output_pattern(args) |
| 117 | |
| 118 | return ChildProcessMonitor( |
| 119 | pid=parent_pid, |
| 120 | cli_args=child_cli_args, |
| 121 | output_pattern=output_pattern, |
| 122 | ) |
| 123 | |
| 124 | |
| 125 | def _get_child_monitor_context(args, pid): |
searching dependent graphs…