[roll] Roll fuchsia [zircon][sampler] De Alloc Buffers Between Sessions

This patch allows us to safely deallocate the buffers once there are no
longer any references to them. We achieve this by reference counting the
buffers, ensuring that we only give out references while the session is
running, then waiting for all references to be returned before
deallocating the buffers.

Test:

fx run-boot-test  core-tests --test-filter 'ThreadSampler.*'
fx run-boot-test  kernel-unittests-boot-test --kernel-unittest thread_sampler --symbolize
fx test profiler

Original-Bug: 377907138
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1536442
Original-Revision: 56213f17fdaad2fec6dd5e54e660197b0630f90c
GitOrigin-RevId: 311e1f53200a477708fde320e9464c04067eaeb4
Change-Id: I69615c78f6cf08bfd99110c52bce41a2b1c00cc8
1 file changed
tree: 8a5d043769e9d48f9245fd74993414bdec9df245
  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.