在feather增加累积扫描长度和次数的统计,但未在maat_stat中输出,只能通过gdb查看。
在gdb中切换到bt后包含thread_rule_monitor函数的线程,在.84上是thread 4,up到thread_rule_monitor栈,执行:
(gdb) p *feather
$2 = {
scanner = 0x706540,
total_scan_bytes = 1971931012,
total_scan_cnt = 13269797
}
This commit is contained in:
@@ -348,6 +348,8 @@ struct _Maat_feather_t
|
||||
mcore_long_t inner_mid_cnt;
|
||||
mcore_long_t hit_cnt;
|
||||
mcore_long_t thread_call_cnt;//size indicate by scan_thread_num,
|
||||
long long total_scan_bytes;
|
||||
long long total_scan_cnt;
|
||||
};
|
||||
struct _maat_garbage_t
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user