cancel
Showing results for 
Search instead for 
Did you mean: 

Server Gurus Discussions

oneumyvakin
Adept I

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)"

Tags (1)
0 Likes
1 Reply
swarup
Staff
Staff

Re: AMD uProf generates wrong CSV format of section header

Thanks for catching this. Your 2nd option looks like a suitable fix. We will fix that in the next release.

--Swarup

0 Likes