On line 43
"IDLE_COREP,", "CONSTP", "STATICP"};
should be changed to
"IDLE_COREP,", "CONSTP,", "STATICP"};
With a comma added after CONSTP otherwise, if someone is trying to parse the log file like a csv, they will get a mismatch between the header columns and the data columns (found out the hard way).
Would do a pull request myself but I'm confused how to contribute.
