X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fplugins%2Futils%2Fcounter%2Fcounter.c;h=9fe62a349096b603732eccf40fbc53161ca14b40;hp=cff0d577d2ccdda2f3e1682b428716d194042cd3;hb=d9120ccba72cfe3173cf5987871e9667d4c4c547;hpb=dfcb42a693dadc4f869f8d5abaad1a92b5b853eb diff --git a/src/plugins/utils/counter/counter.c b/src/plugins/utils/counter/counter.c index cff0d577..9fe62a34 100644 --- a/src/plugins/utils/counter/counter.c +++ b/src/plugins/utils/counter/counter.c @@ -138,6 +138,7 @@ void counter_finalize(bt_self_component_sink *comp) g_free(counter); } +static struct bt_param_validation_map_value_entry_descr counter_params[] = { { "step", BT_PARAM_VALIDATION_MAP_VALUE_ENTRY_OPTIONAL, { .type = BT_VALUE_TYPE_UNSIGNED_INTEGER } }, { "hide-zero", BT_PARAM_VALIDATION_MAP_VALUE_ENTRY_OPTIONAL, { .type = BT_VALUE_TYPE_BOOL } },