aboutsummaryrefslogtreecommitdiffstats
path: root/tools/power/cpupower/lib/cpupower_intern.h
blob: 4887c76d23f868c060364dab8795702570a91e6f (plain) (blame)
1
2
3
4
5
6
/* SPDX-License-Identifier: GPL-2.0 */
#define PATH_TO_CPU "/sys/devices/system/cpu/"
#define MAX_LINE_LEN 4096
#define SYSFS_PATH_MAX 255

unsigned int cpupower_read_sysfs(const char *path, char *buf, size_t buflen);