1 Reply Latest reply on Apr 17, 2018 9:39 AM by swarup

    AMD uProf generates wrong CSV format of section header


      AMD uProf generates following header format:


      ALL PROCESSES (Sort Event - Energy) PROCESS,"Energy" (milli Joules),"CPU Time" (seconds)


      According to RFC 4180 - Common Format and MIME Type for Comma-Separated Values (CSV) Files  format of this line "PROCESS,"Energy" (milli Joules),"CPU Time" (seconds)" is wrong, you can't have partially quoting of field, or quotes should be escaped by preceding it with  another double quote

      Right forms are:


      PROCESS,"Energy (milli Joules)","CPU Time (seconds)"


      PROCESS,Energy (milli Joules),CPU Time (seconds)


      PROCESS,"""Energy"" (milli Joules)","""CPU Time"" (seconds)"