summaryrefslogtreecommitdiff
path: root/ui/status/status.go
diff options
context:
space:
mode:
author Dan Albert <danalbert@google.com> 2023-06-01 23:09:38 +0000
committer Dan Albert <danalbert@google.com> 2023-06-21 20:17:57 +0000
commite82234ed50f424c1d9c880f67a2784a0c160aa91 (patch)
tree8fd9c2195e6bf502a22074af66cd540eee083c15 /ui/status/status.go
parent8bd06008dc79483557e9c8a27e73c7c5e8ae7873 (diff)
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
Diffstat (limited to 'ui/status/status.go')
-rw-r--r--ui/status/status.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/status/status.go b/ui/status/status.go
index a5b4a2867..f3e58b660 100644
--- a/ui/status/status.go
+++ b/ui/status/status.go
@@ -85,6 +85,8 @@ type ActionResultStats struct {
// Involuntary context switches
InvoluntaryContextSwitches uint64
+
+ Tags string
}
// Counts describes the number of actions in each state