diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2015-04-29 10:23:02 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2015-04-29 10:23:02 +0000 |
commit | 4b5c9cf62f33d8359a272dda846930aaa7c635f8 (patch) | |
tree | 59650c7275c65023f54e8bff435945b07bc2714a /sys/kern/sched_4bsd.c | |
parent | da2f98a1cf890caeb84b303d3bd94da2b518785c (diff) | |
download | src-4b5c9cf62f33d8359a272dda846930aaa7c635f8.tar.gz src-4b5c9cf62f33d8359a272dda846930aaa7c635f8.zip |
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
Notes
Notes:
svn path=/head/; revision=282213
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 3e39d558dcda..59bd38737118 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. |