aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorKaushlendra Kumar <[email protected]>2025-05-22 08:49:46 +0000
committerLen Brown <[email protected]>2025-06-08 18:10:16 +0000
commit5663785ae02f66acf64f285a40e35abd21b8a7b2 (patch)
treed3a9a94b29d3de74bc740aefd965d26efdfcbdce /rust/helpers/helpers.c
parenttools/power turbostat.8: pm_domain wording fix (diff)
downloadkernel-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