[FEATURE]maat support dynamic reload log_level

This commit is contained in:
liuwentan
2023-12-05 16:31:18 +08:00
parent f48afd54f6
commit 59ee9364c9
9 changed files with 98 additions and 122 deletions

View File

@@ -163,10 +163,13 @@ int maat_options_set_hit_group_enabled(struct maat_options *opts);
struct maat *maat_new(struct maat_options *opts, const char *table_info_path);
void maat_free(struct maat *instance);
void maat_reload_log_level(struct maat *instance, enum log_level level);
/**
* Each thread can call this function initially, maat will maintain the thread_id internally,
* So it's no need to pass thread_id by maat_scan_xx and xx_plugin_get_ex_data API
*/
* Each thread can call this function initially, maat will maintain the
* thread_id internally, So it's no need to pass thread_id by maat_scan_xx and
* xx_plugin_get_ex_data API
*/
void maat_register_thread(struct maat *instance);
/* maat helper API */