(child_pid: pid_t, parent_pid: pid_t, timestamp: u64)
| 838 | } |
| 839 | |
| 840 | fn fork_event(child_pid: pid_t, parent_pid: pid_t, timestamp: u64) -> MemtrackEvent { |
| 841 | MemtrackEvent { |
| 842 | pid: child_pid, |
| 843 | tid: child_pid, |
| 844 | timestamp, |
| 845 | addr: 0, |
| 846 | kind: MemtrackEventKind::Fork { parent_pid }, |
| 847 | } |
| 848 | } |
| 849 | |
| 850 | fn exec_event(pid: pid_t, timestamp: u64) -> MemtrackEvent { |
| 851 | MemtrackEvent { |
nothing calls this directly
no outgoing calls
no test coverage detected