Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89f235c5 authored by Mike Chan's avatar Mike Chan
Browse files

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



Cpu accounting statistics expored in /acct

Change-Id: I8a35816e94b69d9e67a3dd65aae16520864777d7
Signed-off-by: default avatarMike Chan <mike@android.com>
parent b91bf4ba
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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