|
|
|
@ -87,13 +87,24 @@ void DecodeRegisterPerfCounters(DecodeThreadVars *dtv, ThreadVars *tv)
|
|
|
|
|
dtv->counter_max_pkt_size = SCPerfTVRegisterMaxCounter("decoder.max_pkt_size", tv,
|
|
|
|
|
SC_PERF_TYPE_UINT64, "NULL");
|
|
|
|
|
|
|
|
|
|
dtv->counter_defrag_fragments = SCPerfTVRegisterCounter("defrag.fragments",
|
|
|
|
|
tv, SC_PERF_TYPE_UINT64, "NULL");
|
|
|
|
|
dtv->counter_defrag_reassembled =
|
|
|
|
|
SCPerfTVRegisterCounter("defrag.reassembled", tv, SC_PERF_TYPE_UINT64,
|
|
|
|
|
"NULL");
|
|
|
|
|
dtv->counter_defrag_timeouts = SCPerfTVRegisterCounter("defrag.timeouts",
|
|
|
|
|
tv, SC_PERF_TYPE_UINT64, "NULL");
|
|
|
|
|
dtv->counter_defrag_ipv4_fragments =
|
|
|
|
|
SCPerfTVRegisterCounter("defrag.ipv4.fragments", tv,
|
|
|
|
|
SC_PERF_TYPE_UINT64, "NULL");
|
|
|
|
|
dtv->counter_defrag_ipv4_reassembled =
|
|
|
|
|
SCPerfTVRegisterCounter("defrag.ipv4.reassembled", tv,
|
|
|
|
|
SC_PERF_TYPE_UINT64, "NULL");
|
|
|
|
|
dtv->counter_defrag_ipv4_timeouts =
|
|
|
|
|
SCPerfTVRegisterCounter("defrag.ipv4.timeouts", tv,
|
|
|
|
|
SC_PERF_TYPE_UINT64, "NULL");
|
|
|
|
|
dtv->counter_defrag_ipv6_fragments =
|
|
|
|
|
SCPerfTVRegisterCounter("defrag.ipv6.fragments", tv,
|
|
|
|
|
SC_PERF_TYPE_UINT64, "NULL");
|
|
|
|
|
dtv->counter_defrag_ipv6_reassembled =
|
|
|
|
|
SCPerfTVRegisterCounter("defrag.ipv6.reassembled", tv,
|
|
|
|
|
SC_PERF_TYPE_UINT64, "NULL");
|
|
|
|
|
dtv->counter_defrag_ipv6_timeouts =
|
|
|
|
|
SCPerfTVRegisterCounter("defrag.ipv6.timeouts", tv,
|
|
|
|
|
SC_PERF_TYPE_UINT64, "NULL");
|
|
|
|
|
|
|
|
|
|
tv->sc_perf_pca = SCPerfGetAllCountersArray(&tv->sc_perf_pctx);
|
|
|
|
|
SCPerfAddToClubbedTMTable(tv->name, &tv->sc_perf_pctx);
|
|
|
|
|