[rtems commit] timecounter: Let kern.timecounter.stepwarnings be set as a tunable

Sebastian Huber sebh at rtems.org
Mon Nov 15 08:15:17 UTC 2021


Module:    rtems
Branch:    master
Commit:    66d4077c983951e4f1e0613db6760d4f1365c3f3
Changeset: http://git.rtems.org/rtems/commit/?id=66d4077c983951e4f1e0613db6760d4f1365c3f3

Author:    Mark Johnston <markj at FreeBSD.org>
Date:      Sat Oct  9 12:34:06 2021 -0400

timecounter: Let kern.timecounter.stepwarnings be set as a tunable

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 4b79b23..e8c773a 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;



More information about the vc mailing list