summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorMihai Serban <mihai.serban@intel.com>2016-03-07 16:41:19 +0200
committerMihai Serban <mihai.serban@intel.com>2016-03-07 16:56:06 +0200
commitafebc25bdd923b46c2e315c30ffbfb70558d1acf (patch)
tree1ba2d901b89d47667bdafac8cab081f8a5c08063 /rootdir
parent700b15dacfa42bcc5c4d768b92530e9f20f0211b (diff)
downloadsystem_core-afebc25bdd923b46c2e315c30ffbfb70558d1acf.tar.gz
system_core-afebc25bdd923b46c2e315c30ffbfb70558d1acf.tar.bz2
system_core-afebc25bdd923b46c2e315c30ffbfb70558d1acf.zip
init-debug.rc: mount debugfs
Enable debugfs on non "user" builds. BUG=27520850 Change-Id: I2bcc72b686d0477b553c0605adfd4c023e72cbfb Signed-off-by: Mihai Serban <mihai.serban@intel.com>
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init-debug.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init-debug.rc b/rootdir/init-debug.rc
index 435d4cb25..44d34d8c1 100644
--- a/rootdir/init-debug.rc
+++ b/rootdir/init-debug.rc
@@ -6,3 +6,6 @@ on property:persist.mmc.max_write_speed=*
on property:persist.mmc.cache_size=*
write /sys/block/mmcblk0/cache_size ${persist.mmc.cache_size}
+
+on early-init
+ mount debugfs debugfs /sys/kernel/debug