platform_build_soong/ui/status/ninja_frontend
Colin Cross d888b6b4fc Add stats from ninja subprocesses to build.trace.gz
Propagate the subprocess stats from ninja to build.trace.gz.

There is too much data here to put into separate counters for each
statistic, so put them into args on each duration event for now.

We would like to track max RSS for each subprocess, but the Linux
kernel inherits the max RSS of the ninja process in each subprocess,
which sets a lower bound on the measurable max RSS to the size of
the ninja process.  The ninja process is large due to the multi-GB
build.ninja files.

Bug: 170701554
Test: examine build.trace.gz
Change-Id: I8aaaafe627a57f1a500af098c097c6381c583ba5
2020-10-15 13:46:32 -07:00
..
README Add a unified status reporting UI 2018-07-12 14:15:31 -07:00
frontend.pb.go Add stats from ninja subprocesses to build.trace.gz 2020-10-15 13:46:32 -07:00
frontend.proto Add stats from ninja subprocesses to build.trace.gz 2020-10-15 13:46:32 -07:00
regen.sh Add a unified status reporting UI 2018-07-12 14:15:31 -07:00

README

This comes from https://android.googlesource.com/platform/external/ninja/+/master/src/frontend.proto

The only difference is the specification of a go_package. To regenerate frontend.pb.go, run regen.sh.