From 90ebe5baf2c1ea026ae0bf0749f9a683b4d0c823 Mon Sep 17 00:00:00 2001 From: Primiano Tucci Date: Thu, 25 Jan 2018 12:08:04 +0000 Subject: [PATCH] Add perfetto daemons and cmdline client to core makefiles Perfetto is a tracing daemon that allows both to capture traces from the kernel (via the traced_probes binary) and allows data to be pushed from userspace (via the traced binary). Tracing is never enabled by default and can be kicked off either via statsd or by the shell. The daemon executables are split only for the sake of security and isolating SELinux domains. Under the hoods they are just two shells that run code in the same shared libarary. See go/perfetto-sys-health-details for expected binary / memory / overhead impact. Bug: 72484603 Test: builds (see go/perfetto-test-spec for test plan) Change-Id: Ib5fbd7cd2113010398802b622363b75f3eef738d --- target/product/base.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/product/base.mk b/target/product/base.mk index c3eb3b289..750d3fab1 100644 --- a/target/product/base.mk +++ b/target/product/base.mk @@ -114,6 +114,7 @@ PRODUCT_PACKAGES += \ mtpd \ ndc \ netd \ + perfetto \ ping \ ping6 \ platform.xml \ @@ -132,6 +133,8 @@ PRODUCT_PACKAGES += \ svc \ tc \ telecom \ + traced \ + traced_probes \ vdc \ vold \ wm