Merge "powerstats: acpm_stats driver has moved" into sc-dev

This commit is contained in:
Benjamin Schwartz 2021-03-10 01:13:33 +00:00 committed by Android (Google) Code Review
commit b5527ad721

View file

@ -171,7 +171,7 @@ void addDvfsStats(std::shared_ptr<PowerStats> p) {
}}); }});
p->addStateResidencyDataProvider(std::make_shared<DvfsStateResidencyDataProvider>( p->addStateResidencyDataProvider(std::make_shared<DvfsStateResidencyDataProvider>(
"/sys/devices/platform/1742048c.acpm_stats/fvp_stats", NS_TO_MS, cfgs)); "/sys/devices/platform/acpm_stats/fvp_stats", NS_TO_MS, cfgs));
} }
void addSoC(std::shared_ptr<PowerStats> p) { void addSoC(std::shared_ptr<PowerStats> p) {
@ -239,7 +239,7 @@ void addSoC(std::shared_ptr<PowerStats> p) {
"SLC-REQ", "SLC_REQ:"); "SLC-REQ", "SLC_REQ:");
auto socSdp = std::make_shared<GenericStateResidencyDataProvider>( auto socSdp = std::make_shared<GenericStateResidencyDataProvider>(
"/sys/devices/platform/1742048c.acpm_stats/soc_stats", cfgs); "/sys/devices/platform/acpm_stats/soc_stats", cfgs);
p->addStateResidencyDataProvider(socSdp); p->addStateResidencyDataProvider(socSdp);
} }