papi_decode(1)

okay so bestie, welcome to papi_decode(1) β€” a PAPI utility page, and we're gonna get through it together, no cap. ✨

✨ NAME ✨

The first NAME line is literally: papi_decode - papi_decode utility. πŸ’…

Also: file papi_decode.c

πŸ’– NAME (round two, because the page says so) πŸ’–

papi_decode - provides availability and detail information for PAPI preset events. 🫢

🌸 Synopsis 🌸

papi_decode [-ah]

πŸ¦‹ Description πŸ¦‹

papi_decode is a PAPI utility program that converts the PAPI presets for the existing library into a comma separated value format. That format can then be viewed or modified in spreadsheet applications or text editors, and it can be supplied to PAPI_encode_events (3) as a way of adding or modifying event definitions for specialized applications. (iykyk, that's the whole glow-up. ✨)

The csv output format is: a line of field names, then a blank line, then one line of comma separated values for each event contained in the preset table. A portion of this output (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

πŸ’… Options πŸ’…

  • -a β€” Convert only the available PAPI preset events.
  • -h β€” Display help information about this utility.

🐞 Bugs 🐞

There are no known bugs in this utility. (iconic, honestly.) If you find a bug, it should be reported to the PAPI Mailing List at ptools-perfapi@icl.utk.edu. πŸ’Œ

bestie, that's the whole bug policy: zero known bugs, and the email address is literally ptools-perfapi@icl.utk.edu. 🫢

okay that's the page! This one is from PAPI, Version 7.2.0.0, dated Mon Nov 3 2025, and it's the papi_decode(1) manual. periodt. πŸ’–

πŸ“¦ where this page comes from