git: 66f5f958646c - stable/13 - timecounter: Let kern.timecounter.stepwarnings be set as a tunable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Oct 2021 13:31:34 UTC
The branch stable/13 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=66f5f958646c780676c23bd581cf5b3e26eff551
commit 66f5f958646c780676c23bd581cf5b3e26eff551
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-10-09 16:34:06 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-10-16 13:31:19 +0000
timecounter: Let kern.timecounter.stepwarnings be set as a tunable
(cherry picked from commit fa9da1f590caba94b98717c33633efcf719da151)
---
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 b1dcb18e31be..4ae0169b7d8d 100644
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -116,7 +116,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;