Merge in SNORT/snort3 from ~ASERBENI/snort3:ruleprof_stats to master
Squashed commit of the following:
commit
6a7f93962b14b5675e36373f65fa1869e30e9577
Author: Andrii Serbeniuk <aserbeni@cisco.com>
Date: Thu Oct 12 12:29:58 2023 +0300
detection: fix cleaning of rule profiling stats when profiling starts
auto* node = (detection_option_tree_node_t*)hnode->data;
assert(node);
- if ( node->state[thread_id].checks )
- detection_option_node_reset_otn_stats(node, thread_id);
+ detection_option_node_reset_otn_stats(node, thread_id);
}
}