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
This commit is contained in:
Primiano Tucci 2018-01-25 12:08:04 +00:00
parent f90b7e1948
commit 90ebe5baf2

View file

@ -114,6 +114,7 @@ PRODUCT_PACKAGES += \
mtpd \ mtpd \
ndc \ ndc \
netd \ netd \
perfetto \
ping \ ping \
ping6 \ ping6 \
platform.xml \ platform.xml \
@ -132,6 +133,8 @@ PRODUCT_PACKAGES += \
svc \ svc \
tc \ tc \
telecom \ telecom \
traced \
traced_probes \
vdc \ vdc \
vold \ vold \
wm wm