diff options
author | 2012-04-12 14:59:18 +0000 | |
---|---|---|
committer | 2012-04-12 14:59:18 +0000 | |
commit | 243c13be92a26e3c62cdd5a37e8b327341b18266 (patch) | |
tree | acbbd17afe7dedef7ebc9507178e51cdf59b0b77 /sys/compat/linux/linux_sched.c | |
parent | hibernate: fix lock/unlock mismatch (diff) | |
download | wireguard-openbsd-243c13be92a26e3c62cdd5a37e8b327341b18266.tar.xz wireguard-openbsd-243c13be92a26e3c62cdd5a37e8b327341b18266.zip |
Add per thread accounting, mainly for usage & friends.
This expands the already bloated FILL_KPROC macro to take an extra
parameter that indicates if the callee is a thread or a process.
The userland bits are adjusted accordingly and ps(1) and top(1) now
display per thread usage times when -H is used.
Also pkill(1) had to be adjusted so that duplicates don't pop up.
libkvm does basically the same thing as the kernel bits.
Okay guenther@.
Diffstat (limited to 'sys/compat/linux/linux_sched.c')
0 files changed, 0 insertions, 0 deletions