Home
last modified time | relevance | path

Searched refs:pmu_events_attr (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/nvdimm/
Dnd_perf.c183 struct perf_pmu_events_attr *pmu_events_attr; in create_cpumask_attr_group() local
187 pmu_events_attr = kzalloc(sizeof(*pmu_events_attr), GFP_KERNEL); in create_cpumask_attr_group()
188 if (!pmu_events_attr) in create_cpumask_attr_group()
193 kfree(pmu_events_attr); in create_cpumask_attr_group()
200 kfree(pmu_events_attr); in create_cpumask_attr_group()
205 sysfs_attr_init(&pmu_events_attr->attr.attr); in create_cpumask_attr_group()
206 pmu_events_attr->attr.attr.name = "cpumask"; in create_cpumask_attr_group()
207 pmu_events_attr->attr.attr.mode = 0444; in create_cpumask_attr_group()
208 pmu_events_attr->attr.show = nvdimm_pmu_cpumask_show; in create_cpumask_attr_group()
209 attrs_group[0] = &pmu_events_attr->attr.attr; in create_cpumask_attr_group()