diff options
author | 2024-03-05 01:12:19 +0000 | |
---|---|---|
committer | 2024-03-07 18:54:37 +0000 | |
commit | a58467ae9a137b8642b9c67da6c563440b69d746 (patch) | |
tree | 5f3568e6c9281364f2e7a7a306a045fd16118621 /ui/tracer | |
parent | 972917d794e1f9a225fa3737cf648f4a8d044d31 (diff) |
Store the changed_inputs field in build.trace.
Bug: 323021988
Test: Manual tests
Change-Id: If5e060d13f7935ced28d556ab248f2b1e6bdb61d
Diffstat (limited to 'ui/tracer')
-rw-r--r-- | ui/tracer/status.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/tracer/status.go b/ui/tracer/status.go index f973613d4..8acf561c9 100644 --- a/ui/tracer/status.go +++ b/ui/tracer/status.go @@ -15,9 +15,10 @@ package tracer import ( - "android/soong/ui/status" "strings" "time" + + "android/soong/ui/status" ) func (t *tracerImpl) StatusTracer() status.StatusOutput { @@ -110,6 +111,7 @@ func (s *statusOutput) FinishAction(result status.ActionResult, counts status.Co VoluntaryContextSwitches: result.Stats.VoluntaryContextSwitches, InvoluntaryContextSwitches: result.Stats.InvoluntaryContextSwitches, Tags: s.parseTags(result.Stats.Tags), + ChangedInputs: result.Action.ChangedInputs, }, }) } @@ -125,6 +127,7 @@ type statsArg struct { VoluntaryContextSwitches uint64 `json:"voluntary_context_switches"` InvoluntaryContextSwitches uint64 `json:"involuntary_context_switches"` Tags map[string]string `json:"tags"` + ChangedInputs []string `json:"changed_inputs"` } func (s *statusOutput) Flush() {} |