git: fa9da1f590ca - main - timecounter: Let kern.timecounter.stepwarnings be set as a tunable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Oct 2021 16:35:09 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=fa9da1f590caba94b98717c33633efcf719da151
commit fa9da1f590caba94b98717c33633efcf719da151
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-10-09 16:34:06 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-10-09 16:34:06 +0000
timecounter: Let kern.timecounter.stepwarnings be set as a tunable
MFC after: 1 week
---
sys/kern/kern_tc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c
index 81d373b3b1d0..be4142e19d77 100644
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -121,7 +121,7 @@ static SYSCTL_NODE(_kern_timecounter, OID_AUTO, tc,
"");
static int timestepwarnings;
-SYSCTL_INT(_kern_timecounter, OID_AUTO, stepwarnings, CTLFLAG_RW,
+SYSCTL_INT(_kern_timecounter, OID_AUTO, stepwarnings, CTLFLAG_RWTUN,
×tepwarnings, 0, "Log time steps");
static int timehands_count = 2;