[roll] Roll fuchsia [kernel] Implement KTrace::Rewind for per-CPU mode

This CL implements Rewind functionality for the per-CPU KTrace
implementation using the SpscBuffer::Drain method.

Note that this implementation of Rewind has slightly different
semantics than the existing implementation. Specifically, Rewind now
stops the trace itself, removing the need to invoke KTrace::Stop
before invoking Rewind. This was done for efficiency's sake - the
Stop method sends a no-op IPI to every core, and Rewind can reuse that
IPI to invoke Drain.

Original-Bug: 404539312
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1252726
Original-Revision: 624892203716f0eac8c50b71d0eb6ee98f4449bf
GitOrigin-RevId: 29fec981e97d8f649e53f5a62d06df2be9ce606c
Change-Id: I3f115f0800ac41e54bb83b4440afb258a69dfdf1
1 file changed
tree: c54656f3b2c7b2bf93eebc44f7739a3ad5dc941f
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. 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 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.