summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorBrian Swetland <swetland@google.com>2009-09-18 15:31:23 -0700
committerBrian Swetland <swetland@google.com>2009-09-18 15:31:23 -0700
commitbb6f68c63d79bf58bd53f463de1bd23d49e5b8a4 (patch)
treee76899521336782c3983dd543abf264581148143 /rootdir
parent1c60e46e0e5a20426e235eaede8f1cf7395f4cc0 (diff)
downloadsystem_core-bb6f68c63d79bf58bd53f463de1bd23d49e5b8a4.zip
system_core-bb6f68c63d79bf58bd53f463de1bd23d49e5b8a4.tar.gz
system_core-bb6f68c63d79bf58bd53f463de1bd23d49e5b8a4.tar.bz2
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.
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc3
1 files changed, 3 insertions, 0 deletions
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 @@ loglevel 3
# 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 @@ on boot
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.