procfs - export extra kernel time accounting fields
This commit is contained in:
parent
07bfb4f4e4
commit
ab73ac3b6f
1 changed files with 7 additions and 0 deletions
|
@ -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. */
|
/* Newline at the end of the file. */
|
||||||
buf_printf("\n");
|
buf_printf("\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue