diff --git a/mps/code/eventcnv.c b/mps/code/eventcnv.c index ece05330777..38752a7b9d4 100644 --- a/mps/code/eventcnv.c +++ b/mps/code/eventcnv.c @@ -1,12 +1,27 @@ /* eventcnv.c: Simple event log converter * Copyright (c) 2001 Ravenbrook Limited. See end of file for license. * + * This is a command-line tool that converts a binary format telemetry output + * stream from the MPS into several textual formats. + * + * The default MPS library will write a telemetry stream to a file called + * "mpsio.log" when the environment variable MPS_TELEMETRY_CONTROL is set + * to an integer whose bits select event kinds. For example: + * + * MPS_TELEMETRY_CONTROL=7 amcss + * + * will run the amcss test program and emit a file with event kinds 0, 1, 2. + * The file can then be converted into text format with a command like: + * + * eventcnv -v | sort + * + * Note that the eventcnv program can only read streams that come from an + * MPS compiled on the same platform. + * * $Id$ */ #include "config.h" -/* override variety setting for EVENT */ -#define EVENT #include "eventdef.h" #include "eventcom.h" diff --git a/mps/code/eventpro.h b/mps/code/eventpro.h index a4a7d34e780..ff671523d46 100644 --- a/mps/code/eventpro.h +++ b/mps/code/eventpro.h @@ -8,8 +8,6 @@ #define eventpro_h #include "config.h" -/* override variety setting for EVENT */ -#define EVENT #include "eventcom.h" #include "mpmtypes.h"