The comma separated value file format is one that can be easily edited in a standard text editor or
a csv-aware spreadsheet application, and can be easily parsed. Text strings can contain commas, but only if
the strings are enclosed in quotes. Each entry in the file is a separate line, and each field, including empty
fields, is separated by a comma from its neighbor. The specific format used in this case consists of a title
line for readability, a blank line, and a series of lines containing event definitions. A portion of such a
file (for Pentium 4) is shown below:
name,derived,postfix,short_descr,long_descr,note,[native,...]
PAPI_L1_ICM,NOT_DERIVED,,"L1I cache misses","Level 1 instruction cache misses",,BPU_fetch_request_TCMISS
PAPI_L2_TCM,NOT_DERIVED,,"L2 cache misses","Level 2 cache misses",,BSQ_cache_reference_RD_2ndL_MISS_WR_2ndL_MISS
PAPI_TLB_DM,NOT_DERIVED,,"Data TLB misses","Data translation lookaside buffer misses",,page_walk_type_DTMISS
MY_PAPI_TLB_DM,NOT_DERIVED,,"Data TLB misses","Data translation lookaside buffer misses","This is a note for my event",page_walk_type_DTMISS