diff options
| author | Kaushlendra Kumar <[email protected]> | 2025-05-22 08:49:46 +0000 |
|---|---|---|
| committer | Len Brown <[email protected]> | 2025-06-08 18:10:16 +0000 |
| commit | 5663785ae02f66acf64f285a40e35abd21b8a7b2 (patch) | |
| tree | d3a9a94b29d3de74bc740aefd965d26efdfcbdce /rust/helpers/helpers.c | |
| parent | tools/power turbostat.8: pm_domain wording fix (diff) | |
| download | kernel-5663785ae02f66acf64f285a40e35abd21b8a7b2.tar.gz kernel-5663785ae02f66acf64f285a40e35abd21b8a7b2.zip | |
tools/power turbostat: Add Android support for MSR device handling
It uses /dev/msrN device paths on Android instead of /dev/cpu/N/msr,
updates error messages and permission checks to reflect the Android
device path, and wraps platform-specific code with #if defined(ANDROID)
to ensure correct behavior on both Android and non-Android systems.
These changes improve compatibility and usability of turbostat on
Android devices.
Signed-off-by: Kaushlendra Kumar <[email protected]>
Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
