From 9d19a054224cbc7145e39f33dd52b509aa1593b2 Mon Sep 17 00:00:00 2001 From: Kyle Lin Date: Thu, 23 Apr 2020 23:19:25 +0800 Subject: [PATCH] rootdir: init.rc: mount tracefs Bug: 153849221 Test: build and try to capture the trace by perfetto and systrace Change-Id: Ie8a13e12038bd66afcd264079a2c5f25daaa20ee --- rootdir/init.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index 6564e8f62..a380ebb20 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -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