Bug 153161
Summary: | libcpupower: cpupower_is_cpu_online is not in public API | ||
---|---|---|---|
Product: | Tools | Reporter: | Vlad Orlov (monsta) |
Component: | Other | Assignee: | Tools.Other (tools_other) |
Status: | NEW --- | ||
Severity: | low | CC: | alberts.muktupavels, monsta, NP-Hardass |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.7-rc7 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Vlad Orlov
2016-08-15 18:25:50 UTC
Unlike Vlad, on Gentoo, we are unable to compile mate-applets successfully for this very reason. Gentoo packaging, just as a side note, has cpupower extracted from linux sources to be installed as a separate package. Version 4.7.0 of this package contains the cpufreq.h, cpuidle.h, and cpupower.h files, but the Makefile doesn't install cpupower.h. Presumably since cpufreq_cpu_exists was a public function, its replacement, cpupower_is_cpu_online, should be too. Is it worth having cpupower install cpupower.h in addition to cpufreq.h and cpuidle.h, or is there a better way to handle the situation? Personally, because a public function was removed and its replacement is private, I'd consider the loss of functionality a regression, but I don't know the specifics of the design decisions that went into the current setup. Any recommendations on how to proceed if this decision was intentional and will persist would be appreciated. There's a patch for this at: https://patchwork.kernel.org/patch/10009599/ |