summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2021-10-09 12:34:06 -0400
committerMoyano, Gabriel <gabriel.moyano@dlr.de>2021-11-16 09:48:22 +0100
commitf03147f17203c10946c00acf34ab5e71831770a9 (patch)
tree34170504101b0d612fad9c59c5ef668d0d8df635
parentRemove "All Rights Reserved" from (diff)
downloadrtems-f03147f17203c10946c00acf34ab5e71831770a9.tar.bz2
timecounter: Let kern.timecounter.stepwarnings be set as a tunable
MFC after: 1 week
-rw-r--r--cpukit/score/src/kern_tc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index 7ea38e2694..2b131bb423 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;