[roll third_party/pigweed] pw_build: Add --write-trace option to pw-wrap-ninja

This commit adds a new option to pw-wrap-ninja to write a trace file for
the build, in the Chromium trace_event format. This trace can be opened
with the Perfetto UI.

This trace only includes timing information from the build, not
dependency information from Ninja or additional compiler output. Thus,
it is simpler than a more comprehensive tool such as Fuchsia's
"ninjatrace". However, it's simple to use and still provides value.

Tested:
  Built Pigweed with pw-wrap-ninja and the --write-trace option.
  Confirmed the trace was viewable with the Perfetto UI.
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/126464

https://pigweed.googlesource.com/pigweed/pigweed
third_party/pigweed Rolled-Commits: 01b7bd968623539..54a2e4165e9c998
Roller-URL: https://ci.chromium.org/b/8791675902693187265
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I298a4f64229fa84de4eda5c990bca58ba58e38e1
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/126690
Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
diff --git a/third_party/pigweed b/third_party/pigweed
index 01b7bd9..54a2e41 160000
--- a/third_party/pigweed
+++ b/third_party/pigweed
@@ -1 +1 @@
-Subproject commit 01b7bd968623539cb27dd58e06977400ecedd42e
+Subproject commit 54a2e4165e9c9986a3ba68bacb6306d2dfc64888