procfs - export extra kernel time accounting fields

This commit is contained in:
Ben Gras 2011-02-08 13:59:21 +00:00
parent 07bfb4f4e4
commit ab73ac3b6f

View file

@ -168,6 +168,13 @@ PRIVATE void pid_psinfo(int i)
);
}
/* always add kernel cycles */
buf_printf(" %lu %lu %lu %lu",
ex64hi(proc[i].p_kipc_cycles),
ex64lo(proc[i].p_kipc_cycles),
ex64hi(proc[i].p_kcall_cycles),
ex64lo(proc[i].p_kcall_cycles));
/* Newline at the end of the file. */
buf_printf("\n");
}