Commit 3c5b6ec3 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Drop deprecated 'a' and 'i' counter formats from table definition

parent 26f659f0
......@@ -180,7 +180,7 @@ do_once_cb(void *priv, const struct VSC_point * const pt)
if (i >= op->pad)
op->pad = i + 1;
printf("%*.*s", op->pad - i, op->pad - i, "");
if (pt->desc->flag == 'a' || pt->desc->flag == 'c')
if (pt->desc->flag == 'c')
printf("%12ju %12.2f %s\n",
(uintmax_t)val, val / op->up, pt->desc->sdesc);
else
......
......@@ -317,10 +317,6 @@ build_pt_list_cb(void *priv, const struct VSC_point *vpt)
pt->ptr = vpt->ptr;
pt->last = *pt->ptr;
pt->flag = vpt->desc->flag;
if (pt->flag == 'a')
pt->flag = 'c';
if (pt->flag == 'i')
pt->flag = 'g';
pt->ma_10.nmax = 10;
pt->ma_100.nmax = 100;
......
......@@ -34,11 +34,9 @@
* t - Type: C-type, uint64_t, unless marked in 'f'
* l - Local: Local counter in worker thread.
* f - Format: Semantics of the value in this field
* 'a' - Accumulator (deprecated, use 'c')
* 'b' - Bitmap
* 'c' - Counter, never decreases.
* 'g' - Gauge, goes up and down
* 'i' - Integer (deprecated, use 'g')
* v - Verbosity: Counter verbosity level (see vsc_levels.h)
* e - Explanation: Short explanation of field (for screen use)
* d - Description: Long explanation of field (for doc use)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment