[PATCH 19/26] timecounter: Let kern.timecounter.stepwarnings be set as a tunable

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Nov 8 06:27:47 UTC 2021


From: Mark Johnston <markj at FreeBSD.org>

MFC after:	1 week
---
 cpukit/score/src/kern_tc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index 4b79b23706..e8c773a890 100644
--- a/cpukit/score/src/kern_tc.c
+++ b/cpukit/score/src/kern_tc.c
@@ -270,7 +270,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;
-- 
2.31.1



More information about the devel mailing list