[patch]add maat_compile_state statistics

This commit is contained in:
liuwentan
2023-06-08 17:43:05 +08:00
parent c5accc49f2
commit daf9e96e10
4 changed files with 26 additions and 6 deletions

View File

@@ -1729,6 +1729,8 @@ void maat_state_free(struct maat_state *state)
if (state->compile_state != NULL) {
maat_compile_state_free(state->compile_state);
state->compile_state = NULL;
alignment_int64_array_add(maat_instance->stat->maat_compile_state_cnt,
state->thread_id, -1);
}
state->maat_instance = NULL;