| 564 | } |
| 565 | |
| 566 | void |
| 567 | ktrprocctor(struct proc *p) |
| 568 | { |
| 569 | struct thread *td = curthread; |
| 570 | |
| 571 | if ((p->p_traceflag & KTRFAC_MASK) == 0) |
| 572 | return; |
| 573 | |
| 574 | ktrace_enter(td); |
| 575 | ktrprocctor_entered(td, p); |
| 576 | ktrace_exit(td); |
| 577 | } |
| 578 | |
| 579 | /* |
| 580 | * When a process forks, enable tracing in the new process if needed. |
no test coverage detected