TT#82401 amend stats gather to keep track of braces

Change-Id: I042179fe26118aef34e84412c3790059b7f6e1a6
changes/14/40714/2
Richard Fuchs 6 years ago
parent 1015cead8b
commit 6d2aeccda6

@ -330,10 +330,13 @@ void statistics_update_oneway(struct call* c) {
|| m->label[0] == '{' \
|| m->label[0] == '}' \
|| m->label[0] == ']') \
&& m->label[1] == 0) { \
&& m->label[1] == 0) \
{ \
m->is_bracket = 1; \
if (m->label[0] == '}' || m->label[0] == ']') \
m->is_close_bracket = 1; \
if (m->label[0] == '{' || m->label[0] == '}') \
m->is_brace = 1; \
} \
SM_PUSH(ret, m); \
} while (0)

@ -100,6 +100,7 @@ struct stats_metric {
int64_t int_value;
int is_bracket;
int is_close_bracket;
int is_brace;
int is_follow_up;
int is_int;
};

Loading…
Cancel
Save