Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Oct 2021 16:35:09 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: fa9da1f590ca - main - timecounter: Let kern.timecounter.stepwarnings be set as a tunable
Message-ID:  <202110091635.199GZ9cC059303@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,
     &timestepwarnings, 0, "Log time steps");
 
 static int timehands_count = 2;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110091635.199GZ9cC059303>