init.rc: Add cpuacct to cgroup mount for cpu statistic

Cpu accounting statistics expored in /acct

Change-Id: I8a35816e94b69d9e67a3dd65aae16520864777d7
Signed-off-by: Mike Chan <mike@android.com>
This commit is contained in:
Mike Chan 2010-03-01 11:36:10 -08:00
parent b91bf4ba86
commit 89f235c5e0
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,11 @@ loglevel 3
mkdir /mnt 0775 root system
mkdir /mnt/sdcard 0000 system system
# Create cgroup mount point for cpu accounting
mkdir /acct
mount cgroup none /acct cpuacct
mkdir /acct/uid
# Backwards Compat - XXX: Going away in G*
symlink /mnt/sdcard /sdcard