Merge "Create location to store surface and window trace files on init" am: 3dfba33d67 am: 4d736b5fa5

am: e6c35c8608

Change-Id: I02663a6cb3fd019d104807ac375ed7092e3fddab
This commit is contained in:
Vishnu Nair 2017-11-27 21:37:22 +00:00 committed by android-build-merger
commit 39b9f7cc18
1 changed files with 4 additions and 0 deletions

View File

@ -436,6 +436,8 @@ on post-fs-data
mkdir /data/misc/update_engine 0700 root root
mkdir /data/misc/update_engine_log 02750 root log
mkdir /data/misc/trace 0700 root root
# create location to store surface and window trace files
mkdir /data/misc/wmtrace 0700 system system
# profile file layout
mkdir /data/misc/profiles 0771 system system
mkdir /data/misc/profiles/cur 0771 system system
@ -734,6 +736,8 @@ on property:ro.debuggable=1
# Give writes to anyone for the trace folder on debug builds.
# The folder is used to store method traces.
chmod 0773 /data/misc/trace
# Give reads to anyone for the window trace folder on debug builds.
chmod 0775 /data/misc/wmtrace
start console
service flash_recovery /system/bin/install-recovery.sh