| H A D | hwmon_pmu.c | 353 struct hwmon_pmu *hwm; in hwmon_pmu__new() 364 hwm = zalloc(sizeof(*hwm)); in hwmon_pmu__new() 365 if (!hwm) in hwmon_pmu__new() 368 if (perf_pmu__init(&hwm->pmu, type, buf) != 0) { in hwmon_pmu__new() 369 perf_pmu__delete(&hwm->pmu); in hwmon_pmu__new() 373 hwm->hwmon_dir = strdup(hwmon_dir); in hwmon_pmu__new() 374 if (!hwm->hwmon_dir) { in hwmon_pmu__new() 375 perf_pmu__delete(&hwm->pmu); in hwmon_pmu__new() 378 hwm in hwmon_pmu__new() 349 struct hwmon_pmu *hwm; hwmon_pmu__new() local 395 struct hwmon_pmu *hwm = container_of(pmu, struct hwmon_pmu, pmu); hwmon_pmu__exit() local 410 hwmon_pmu__describe_items(struct hwmon_pmu * hwm,char * out_buf,size_t out_buf_len,union hwmon_pmu_event_key key,const unsigned long * items,bool is_alarm) hwmon_pmu__describe_items() argument 461 struct hwmon_pmu *hwm = container_of(pmu, struct hwmon_pmu, pmu); hwmon_pmu__for_each_event() local 547 struct hwmon_pmu *hwm = container_of(pmu, struct hwmon_pmu, pmu); hwmon_pmu__num_events() local 555 struct hwmon_pmu *hwm = container_of(pmu, struct hwmon_pmu, pmu); hwmon_pmu__have_event() local 585 hwmon_pmu__config_term(const struct hwmon_pmu * hwm,struct perf_event_attr * attr,struct parse_events_term * term,struct parse_events_error * err) hwmon_pmu__config_term() argument 651 struct hwmon_pmu *hwm = container_of(pmu, struct hwmon_pmu, pmu); hwmon_pmu__config_terms() local 762 struct hwmon_pmu *hwm = container_of(evsel->pmu, struct hwmon_pmu, pmu); evsel__hwmon_pmu_open() local [all...] |