s390/cpum_cf: correct variable naming (cleanup)
Make clear that the event definitions relate to the counter facility (cf) and not to the sampling facility (sf). Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
3fc7acebae
commit
66a49784f9
|
@ -354,25 +354,25 @@ static struct attribute *cpumcf_z13_pmu_event_attr[] __initdata = {
|
||||||
|
|
||||||
/* END: CPUM_CF COUNTER DEFINITIONS ===================================== */
|
/* END: CPUM_CF COUNTER DEFINITIONS ===================================== */
|
||||||
|
|
||||||
static struct attribute_group cpumsf_pmu_events_group = {
|
static struct attribute_group cpumcf_pmu_events_group = {
|
||||||
.name = "events",
|
.name = "events",
|
||||||
};
|
};
|
||||||
|
|
||||||
PMU_FORMAT_ATTR(event, "config:0-63");
|
PMU_FORMAT_ATTR(event, "config:0-63");
|
||||||
|
|
||||||
static struct attribute *cpumsf_pmu_format_attr[] = {
|
static struct attribute *cpumcf_pmu_format_attr[] = {
|
||||||
&format_attr_event.attr,
|
&format_attr_event.attr,
|
||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct attribute_group cpumsf_pmu_format_group = {
|
static struct attribute_group cpumcf_pmu_format_group = {
|
||||||
.name = "format",
|
.name = "format",
|
||||||
.attrs = cpumsf_pmu_format_attr,
|
.attrs = cpumcf_pmu_format_attr,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct attribute_group *cpumsf_pmu_attr_groups[] = {
|
static const struct attribute_group *cpumcf_pmu_attr_groups[] = {
|
||||||
&cpumsf_pmu_events_group,
|
&cpumcf_pmu_events_group,
|
||||||
&cpumsf_pmu_format_group,
|
&cpumcf_pmu_format_group,
|
||||||
NULL,
|
NULL,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -433,6 +433,6 @@ __init const struct attribute_group **cpumf_cf_event_group(void)
|
||||||
|
|
||||||
combined = merge_attr(cpumcf_pmu_event_attr, model);
|
combined = merge_attr(cpumcf_pmu_event_attr, model);
|
||||||
if (combined)
|
if (combined)
|
||||||
cpumsf_pmu_events_group.attrs = combined;
|
cpumcf_pmu_events_group.attrs = combined;
|
||||||
return cpumsf_pmu_attr_groups;
|
return cpumcf_pmu_attr_groups;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue