geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
Functions
geopm_access.h File Reference
#include <stddef.h>
#include "geopm_public.h"
Include dependency graph for geopm_access.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int GEOPM_PUBLIC geopm_msr_allowlist (size_t result_max, char *result)
 Fill result with the msr-safe allowlist file contents reflecting all known MSRs for the specified platform. More...
 

Function Documentation

◆ geopm_msr_allowlist()

int GEOPM_PUBLIC geopm_msr_allowlist ( size_t  result_max,
char *  result 
)

Fill result with the msr-safe allowlist file contents reflecting all known MSRs for the specified platform.

Parameters
result_max[in] Size of the result buffer
result[in, out] Buffer to which the msr-safe allowlist is written.
Returns
Zero on success, error code on failure.