[roll] Roll fuchsia [zircon] Decouple PerCpuBuffer from ktrace

Ktrace implements dropped record tracking on top of the spsc buffer, a
useful improvement that we'd also like to use for profiling.

This pulls out the functionality into a library allowing reuse.

This is a straight copy and rename of PerCpuBuffer with the one change
that we now pass in an ID for which cpu it is running on so it can emit
dropped record records using that id. In addition, it adds a test for
the dropped-records record functionality.

Original-Bug: 447156915
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1414695
Original-Revision: c8b7ee28820c2cdc22d6dd4a8e2fef933fbf614f
GitOrigin-RevId: 4844a35ae71d3789f13ed0085c5141d750b8c579
Change-Id: I1b7e9848f8773af64332b03f437b76430a459480
1 file changed
tree: 57d711480d7f30481dbb6ecec91978d1852945b0
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
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 in one of the communication channels documented at get involved.

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.