| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| # |
| |
| syscfg.defs: |
| STATS_NAMES: |
| description: 'Include and report the textual name of each statistic.' |
| value: 0 |
| STATS_CLI: |
| description: 'Expose the "stat" shell command.' |
| value: 0 |
| restrictions: |
| - SHELL_TASK |
| STATS_PERSIST: |
| description: > |
| Enables persistent statistics. Regardless of this setting's value, |
| statistics are not persistent by default. Enabling this setting |
| just exposes the persistent statistics API. |
| value: 0 |
| STATS_PERSIST_BUF_SIZE: |
| description: > |
| The size of the buffer that holds each stat group during |
| persistence. Before a stat group is persisted, it must be |
| base64-encoded in this buffer. The buffer is allocated on the |
| stack. If the buffer is too small for a persistent stat group, the |
| system detects the problem at startup and triggers a failed |
| assertion. |
| value: 128 |
| STATS_PERSIST_MAX_NAME_SIZE: |
| description: > |
| The size of the buffer that holds each stat group name during |
| persistence. The buffer is allocated on the |
| stack. If the buffer is too small for a persistent stat group |
| name, the system detects the problem at startup and triggers a |
| failed assertion. |
| value: 32 |
| |
| STATS_SYSINIT_STAGE_CONF: |
| description: > |
| Sysinit stage for persistent stat config. |
| value: 51 |
| STATS_SYSDOWN_STAGE: |
| description: > |
| Sysdown stage for persistent stat config. During system shutdown, |
| pending stat writes get flushed to disk. |
| value: 500 |
| STATS_SYSINIT_STAGE: |
| description: > |
| Sysinit stage for statistics functionality. |
| value: 10 |
| STATS_MGMT: |
| description: > |
| Enable stats management over SMP |
| value: 0 |
| STATS_NEWTMGR: |
| description: > |
| Enable stats management over Newtmgr |
| value: 0 |
| |
| syscfg.vals.STATS_NEWTMGR: |
| STATS_MGMT: MYNEWT_VAL(STATS_NEWTMGR) |