* When a thread returns, drain any asynchronous records generated by the * system call. */
| 611 | * system call. |
| 612 | */ |
| 613 | void |
| 614 | ktruserret(struct thread *td) |
| 615 | { |
| 616 | |
| 617 | ktrace_enter(td); |
| 618 | sx_xlock(&ktrace_sx); |
| 619 | ktr_drain(td); |
| 620 | sx_xunlock(&ktrace_sx); |
| 621 | ktrace_exit(td); |
| 622 | } |
| 623 | |
| 624 | void |
| 625 | ktrnamei(path) |
nothing calls this directly
no test coverage detected