diff options
author | trasz <trasz@FreeBSD.org> | 2015-04-29 10:23:02 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2015-04-29 10:23:02 +0000 |
commit | 802017a04b7fb1bc31576aa2de108cf67083c42c (patch) | |
tree | 59650c7275c65023f54e8bff435945b07bc2714a /sys/kern/sched_4bsd.c | |
parent | 0b81a496572c1f07b5403b35bdf7d54c37e4367e (diff) | |
download | FreeBSD-src-802017a04b7fb1bc31576aa2de108cf67083c42c.zip FreeBSD-src-802017a04b7fb1bc31576aa2de108cf67083c42c.tar.gz |
Add kern.racct.enable tunable and RACCT_DISABLED config option.
The point of this is to be able to add RACCT (with RACCT_DISABLED)
to GENERIC, to avoid having to rebuild the kernel to use rctl(8).
Differential Revision: https://reviews.freebsd.org/D2369
Reviewed by: kib@
MFC after: 1 month
Relnotes: yes
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/kern/sched_4bsd.c')
-rw-r--r-- | sys/kern/sched_4bsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c index 3e39d55..59bd387 100644 --- a/sys/kern/sched_4bsd.c +++ b/sys/kern/sched_4bsd.c @@ -1585,7 +1585,7 @@ sched_pctcpu(struct thread *td) return (ts->ts_pctcpu); } -#ifdef RACCT +#ifdef RACCT /* * Calculates the contribution to the thread cpu usage for the latest * (unfinished) second. |