Mention tags format in macro's name

This commit is contained in:
Edznux 2020-10-04 14:29:50 +02:00
parent ca6106a1dc
commit b0de6fed11
No known key found for this signature in database
GPG Key ID: 12E2546C25DD9C3D
2 changed files with 4 additions and 1 deletions

View File

@ -50,6 +50,9 @@ Server config can be adjusted with AFL_STATSD_HOST and AFL_STATSD_PORT env var.
#define STATSD_DEFAULT_PORT 8125
#define STATSD_DEFAULT_HOST "127.0.0.1"
/* comment out to disable tags. */
#define USE_DOGSTATSD_TAGS
/* If you want to have the original afl internal memory corruption checks.
Disabled by default for speed. it is better to use "make ASAN_BUILD=1". */

View File

@ -92,7 +92,7 @@ int statsd_format_metric(afl_state_t *afl, char *buff, size_t bufflen){
/* Metric format:
<some.namespaced.name>:<value>|<type>
*/
#ifdef USE_STATSD_TAGS
#ifdef USE_DOGSTATSD_TAGS
/* Tags format: DogStatsD
<some.namespaced.name>:<value>|<type>|#key:value,key:value,key
*/