PAPI_disable_component_by_name(3)
π NAME π
PAPI_disable_component_by_name β disables the named component. This is the PAPI_disable_component_by_name(3) page from the PAPI manual, section 3, bestie β¨
β¨ SYNOPSIS β¨
okay so the SYNOPSIS section here is giving βDetailed Descriptionβ energy β no cap, weβre rolling with it π
Detailed Description
Return values
ENOCMPβ component does not exist πENOINITβ unable to disable the component, the library has already been initialized π
Parameters
component_nameβ name of the component to disable π
Example:
int result;
result = PAPI_disable_component_by_name("example");
if (result==PAPI_OK)
printf("component \"example\" has been disabled\n");
//...
PAPI_library_init(PAPI_VER_CURRENT);
PAPI_disable_component_by_name() allows the user to disable a component before PAPI_library_init() time. This is useful if the user knows they βdo not with to useβ events from that component and want to reduce the PAPI library overhead. Keeping that βwithβ exactly as written, bestie β iykyk π
β οΈ Order check:PAPI_disable_component_by_name()must be called beforePAPI_library_init(). Periodt.
See also
PAPI_library_initPAPI_disable_component
π Author π
Generated automatically by Doxygen for PAPI from the source code. Not me hand-typing it, okay? π
Thatβs the page, bestie π Version 7.2.0.0, dated Wed Jun 25 2025, with that footerβs 19PAPI_disable_component_by_name(3) energy β generated automatically by Doxygen for PAPI from the source code β¨π
π¦ where this page comes from
- nixos 26.05: papi 7.2.0
- nixpkgs unstable: papi 7.2.0
- opensuse-leap 16.0: papi-devel 7.2.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: papi-devel 7.2.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: papi-devel 7.2.0-160000.2.2 Β· BSD-3-Clause
- ubuntu resolute: libpapi-dev 7.2.0-2 Β· BSD-3-Clause
- ubuntu stonking: libpapi-dev 7.2.0-2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms