This converter program converts old-format PICL tracefiles to new-format
PICL tracefiles.

Simply compile the converter program:

cc -o converter converter.c

To use, specify an old-format PICL (sorted) tracefile on the command
line and redirect output to new file:

converter old_file > new_file

The new file may need to be sorted again.


Note: sort command for old trace format is

sort +1n -2 +2n -3 +0n -1 old_file.raw > old_file.trf

whereas sort command for new trace format is

sort +2n -3 +0n -1 +1rn -2 new_file.raw > new_file.trf

