[roll] Roll fuchsia [perfetto-bridge] Rig up Shared Memory in PerfettoProducer

This sets up perfetto producer to write perfetto trace events to the
shared memory buffer it is given as well as implements enough of the
perfetto::Producer API to handle the ipcs to start/stop tracing.

This means that:
- Perfetto producer no longer needs to be a trace observer
- We can write perfetto events to a buffer and funnel them to the trace
  controller

This doesn't yet connect to the perfetto tracing api yet. This directly
writes protobufs to the buffer rather than through the perfetto TRACE
macros.

Next steps are to:
- Figure out how to have the perfetto trace macros use the trace writer
  we create
- Abstract out the perfetto::Producer implementation to be usable
  outside of this test

Original-Bug: 111976

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/827879
Original-Revision: fac8d453630c9ee9360b6359c77ffa08807594d5
GitOrigin-RevId: 28ae6d8a7e1d261ba728210ae44f1d426dad5681
Change-Id: Id6ac920d2e2ca8e6a77cf39173741dfb8daf1582
1 file changed
tree: ff71ed3e3f36b72c2dc4ba879162c5f7ed051c4c
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.