Searched refs:hwmon_dir (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | hwmon_pmu.c | 107 char *hwmon_dir; member 248 io_dir__init(&dir, open(pmu->hwmon_dir, O_CLOEXEC | O_DIRECTORY | O_RDONLY)); in hwmon_pmu__read_events() 345 struct perf_pmu *hwmon_pmu__new(struct list_head *pmus, const char *hwmon_dir, in hwmon_pmu__new() argument 369 hwm->hwmon_dir = strdup(hwmon_dir); in hwmon_pmu__new() 370 if (!hwm->hwmon_dir) { in hwmon_pmu__new() 407 zfree(&hwm->hwmon_dir); in hwmon_pmu__exit() 417 int dir = open(hwm->hwmon_dir, O_CLOEXEC | O_DIRECTORY | O_RDONLY); in hwmon_pmu__describe_items() 723 int hwmon_dir, name_fd; in perf_pmus__read_hwmon_pmus() local 731 hwmon_dir = open(buf, O_DIRECTORY); in perf_pmus__read_hwmon_pmus() 732 if (hwmon_dir == -1) { in perf_pmus__read_hwmon_pmus() [all …]
|
| H A D | pmus.h | 36 struct perf_pmu *perf_pmus__add_test_hwmon_pmu(const char *hwmon_dir,
|
| H A D | hwmon_pmu.h | 145 struct perf_pmu *hwmon_pmu__new(struct list_head *pmus, const char *hwmon_dir,
|
| H A D | pmus.c | 871 struct perf_pmu *perf_pmus__add_test_hwmon_pmu(const char *hwmon_dir, in perf_pmus__add_test_hwmon_pmu() argument 875 return hwmon_pmu__new(&other_pmus, hwmon_dir, sysfs_name, name); in perf_pmus__add_test_hwmon_pmu()
|