platform_build_soong/ui/status
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
..
build_error_proto Soong: Add build_error proto raw file to $(OUT_DIR). 2019-06-24 13:02:35 -07:00
build_progress_proto Add build progress in Soong UI 2020-03-19 13:15:05 -07:00
ninja_frontend Add stats from ninja subprocesses to build.trace.gz 2020-10-15 13:46:32 -07:00
Android.bp Add build progress in Soong UI 2020-03-19 13:15:05 -07:00
critical_path.go Don't print critical path parallelism ratio if elapsed time is 0. 2020-01-04 07:26:28 +00:00
critical_path_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
kati.go Increase max line length for KatiReader bufio.Scanner 2019-01-30 23:19:23 +00:00
kati_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
log.go Generate the build_error protobuf file on first build action error. 2020-03-19 18:23:26 -07:00
ninja.go Add stats from ninja subprocesses to build.trace.gz 2020-10-15 13:46:32 -07:00
ninja_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
status.go Add stats from ninja subprocesses to build.trace.gz 2020-10-15 13:46:32 -07:00
status_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00