init.rc: mount debugfs for debugging
- put it at /sys/kernel/debug so Arve will be happy
- symlink /d to /sys/kernel/debug so Brian will be happy.
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 2207e56..549a009 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -17,6 +17,7 @@
# Backward compatibility
symlink /system/etc /etc
+ symlink /sys/kernel/debug /d
# create mountpoints and mount tmpfs on sqlite_stmt_journals
mkdir /sdcard 0000 system system
@@ -163,6 +164,8 @@
setprop ro.CONTENT_PROVIDER_MEM 5632
setprop ro.EMPTY_APP_MEM 6144
+ mount debugfs /sys/kernel/debug /sys/kernel/debug
+
# Write value must be consistent with the above properties.
# Note that the driver only supports 6 slots, so we have HOME_APP at the
# same memory level as services.