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
- centos-stream 9: papi 7.2.0-1.el9 Β· BSD-3-Clause
- centos-stream 9: papi 7.2.0-1.el9 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms