From e82234ed50f424c1d9c880f67a2784a0c160aa91 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Thu, 1 Jun 2023 23:09:38 +0000 Subject: Include tags in trace data. The tags item in the trace data is arbitrary metadata added to `build` steps by Soong (and my Kati via `.KATI_TAGS` target-specific variables). Include this in the perfetto trace so we can analyze it. Bug: http://b/259130368 Test: End to end test tracing cp time in dist targets Change-Id: I85d33f579dc40dbae616b24cd4cb150d86262470 --- ui/status/ninja.go | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/status/ninja.go') diff --git a/ui/status/ninja.go b/ui/status/ninja.go index fc0e21a05..fb760ac8f 100644 --- a/ui/status/ninja.go +++ b/ui/status/ninja.go @@ -174,6 +174,7 @@ func (n *NinjaReader) run() { IOOutputKB: msg.EdgeFinished.GetIoOutputKb(), VoluntaryContextSwitches: msg.EdgeFinished.GetVoluntaryContextSwitches(), InvoluntaryContextSwitches: msg.EdgeFinished.GetInvoluntaryContextSwitches(), + Tags: msg.EdgeFinished.GetTags(), }, }) } -- cgit v1.2.3-59-g8ed1b