rootdir: init.rc: mount tracefs

Bug: 153849221
Test: build and try to capture the trace by perfetto and systrace
Change-Id: Ie8a13e12038bd66afcd264079a2c5f25daaa20ee
This commit is contained in:
Kyle Lin 2020-04-23 23:19:25 +08:00
parent 597559a6fc
commit 9d19a05422

View file

@ -78,6 +78,9 @@ on early-init
mkdir /dev/boringssl 0755 root root
mkdir /dev/boringssl/selftest 0755 root root
# Mount tracefs
mount tracefs tracefs /sys/kernel/tracing
# Run boringssl self test for each ABI so that later processes can skip it. http://b/139348610
on early-init && property:ro.product.cpu.abilist32=*
exec_start boringssl_self_test32