We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecb79c2 commit 50650e5Copy full SHA for 50650e5
drivers/perf/riscv_pmu_legacy.c
@@ -136,6 +136,7 @@ static int pmu_legacy_device_probe(struct platform_device *pdev)
136
pmu = riscv_pmu_alloc();
137
if (!pmu)
138
return -ENOMEM;
139
+ pmu->pmu.parent = &pdev->dev;
140
pmu_legacy_init(pmu);
141
142
return 0;
drivers/perf/riscv_pmu_sbi.c
@@ -1080,6 +1080,7 @@ static int pmu_sbi_device_probe(struct platform_device *pdev)
1080
}
1081
1082
pmu->pmu.attr_groups = riscv_pmu_attr_groups;
1083
1084
pmu->cmask = cmask;
1085
pmu->ctr_start = pmu_sbi_ctr_start;
1086
pmu->ctr_stop = pmu_sbi_ctr_stop;
0 commit comments