Use tracefs not debugfs
Test: Device boots Can take photos Run "adb shell atrace -c -b 16000 -t 5 gfx" without root and check produces output Run "python systrace.py view gfx freq sched am wm dalvik binder_driver" from external/chromium-trace after adb root and check populated Bug: 31856701 Change-Id: Ie4f8017d4ef37e12848b1e498e06ed2482752ab2
This commit is contained in:
committed by
therootlord
parent
f6aabf3822
commit
f212ce9083
@@ -28,8 +28,9 @@
|
||||
import /init.mmi.rc
|
||||
|
||||
on early-init
|
||||
mount debugfs debugfs /sys/kernel/debug
|
||||
chmod 0755 /sys/kernel/debug
|
||||
mount tracefs tracefs /sys/kernel/tracing
|
||||
chmod 0755 /sys/kernel/tracing
|
||||
restorecon --recursive /sys/kernel/tracing
|
||||
mkdir /firmware 0771 system system
|
||||
mkdir /system 0777 root root
|
||||
symlink /data/tombstones /tombstones
|
||||
|
||||
Reference in New Issue
Block a user