[BUGFIX]fix maat_stat stream error

This commit is contained in:
liuwentan
2023-07-18 18:54:34 +08:00
parent b1dcf0d5b0
commit f731f7d405
6 changed files with 78 additions and 96 deletions

View File

@@ -80,8 +80,6 @@ long long expr_runtime_update_err_count(void *expr_runtime);
long long expr_runtime_scan_bytes(struct expr_runtime *expr_rt);
long long expr_runtime_stream_num(struct expr_runtime *expr_rt);
#ifdef __cplusplus
}
#endif

View File

@@ -60,7 +60,6 @@ struct maat_item {
struct maat_runtime {
/* maat_runtime can be created and destroy dynamic, so need version info */
long long version;
time_t last_update_time;
long long *ref_cnt;
@@ -151,6 +150,7 @@ struct maat_stat {
long long *thread_call_cnt;
long long *stream_num;
long long *hit_cnt;
long long *not_grp_hit_cnt;
long long *maat_state_cnt;