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

Jan Sommer jan at rtems.org
Tue Nov 30 14:40:13 UTC 2021


Module:    rtems
Branch:    5
Commit:    f03147f17203c10946c00acf34ab5e71831770a9
Changeset: http://git.rtems.org/rtems/commit/?id=f03147f17203c10946c00acf34ab5e71831770a9

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 7ea38e2..2b131bb 100644
--- a/cpukit/score/src/kern_tc.c
+++ b/cpukit/score/src/kern_tc.c
@@ -253,7 +253,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