Permalink
Browse files

Enable cpufreq statistics

Change-Id: If89656b595fa365809debb492b64af2e8f4e3e89
  • Loading branch information...
1 parent 8b1e353 commit 7faee61cddbd1b21771a339d265b0f44ce0823fe @nadlabak nadlabak committed Jan 17, 2013
Showing with 11 additions and 0 deletions.
  1. +10 −0 prebuilt/etc/init.d/99cpufreq_stats
  2. +1 −0 umts_sholes.mk
@@ -0,0 +1,10 @@
+#!/system/bin/sh
+
+# Enable cpufreq stats.
+# As the freq table has been already altered by the 10overclock script,
+# let's suppose it won't be modified again later, so there is a chance
+# that the stats will be valid from now on.
+# Do the insmod here and not directly at the end of 10overclock, because
+# some users may be already using customized backup of 10overclock.
+insmod /system/lib/modules/cpufreq_stats.ko
+
View
@@ -150,6 +150,7 @@ PRODUCT_COPY_FILES += \
device/motorola/umts_sholes/prebuilt/etc/init.d/08lib2ext:/system/etc/init.d/08lib2ext \
device/motorola/umts_sholes/prebuilt/etc/init.d/60autoboot_or:/system/etc/init.d/60autoboot_or \
device/motorola/umts_sholes/prebuilt/etc/init.d/12swap:/system/etc/init.d/12swap \
+ device/motorola/umts_sholes/prebuilt/etc/init.d/99cpufreq_stats:/system/etc/init.d/99cpufreq_stats \
device/motorola/umts_sholes/prebuilt/etc/location.cfg:/system/etc/location.cfg \
device/motorola/umts_sholes/prebuilt/etc/powervr.ini:/system/etc/powervr.ini \
device/motorola/umts_sholes/prebuilt/etc/gpsconfig.xml:/system/etc/gpsconfig.xml \

0 comments on commit 7faee61

Please sign in to comment.