Project

General

Profile

Actions

Feature #1545

closed

Add type variable into StatsRecord

Added by Jozef Mlich over 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Effort:
Difficulty:
Label:

Description

In output-stats.h, there is a note on pvalue use about memuse counters (See [1]). It would be nice to distinguish those counters according to its type.

I suggest to pass type from counters.c/h into StatsRecord as is described in this commit [2].

[1] https://github.com/inliniac/suricata/blob/master/src/output-stats.h#L33
[2] https://github.com/jmlich/suricata/commit/78ff192b857846caa53b68e2440060524ed70a12

Actions

Also available in: Atom PDF