| 1336 | } |
| 1337 | |
| 1338 | struct pstats * |
| 1339 | pstats_alloc(void) |
| 1340 | { |
| 1341 | |
| 1342 | return (malloc(sizeof(struct pstats), M_SUBPROC, M_ZERO|M_WAITOK)); |
| 1343 | } |
| 1344 | |
| 1345 | /* |
| 1346 | * Copy parts of p_stats; zero the rest of p_stats (statistics). |
no test coverage detected