From afebc25bdd923b46c2e315c30ffbfb70558d1acf Mon Sep 17 00:00:00 2001 From: Mihai Serban Date: Mon, 7 Mar 2016 16:41:19 +0200 Subject: [PATCH] init-debug.rc: mount debugfs Enable debugfs on non "user" builds. BUG=27520850 Change-Id: I2bcc72b686d0477b553c0605adfd4c023e72cbfb Signed-off-by: Mihai Serban --- rootdir/init-debug.rc | 3 +++ 1 file changed, 3 insertions(+) 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