commit | dde7989483257cf4dbae083bb29435a2345f1d3f | [log] [tgz] |
---|---|---|
author | Gwen Mittertreiner <gmtr@fuchsia.infra.roller.google.com> | Fri Nov 22 00:03:56 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Nov 21 16:05:49 2024 -0800 |
tree | 9aa5c75ee2662e5e811a98ecc7c3fe7a059ce77d | |
parent | bd9f8882b6f6e68deb337ab539b35fdad47c03d1 [diff] |
[roll] Roll fuchsia [thread_sampler] Disable Ints While Writing Samples Interrupts are enabled while we are taking samples because we need to allow interrupts to usercopy. However, because they aren't disabled, this allows the possibility that we begin writing, set the pending write, then are context switched out. Another thread would then attempt to write a sample on the same cpu, violating the assertion that there isn't a pending write. Since the trace buffer is mapped and pinned, it is safe to write to it while interrupts are off, so we now do so. Testing: Without the interrupts change, ThreadSampler.HighFrequency consistently hits the assertion fail. With the added disabled interrupts it now passes. Original-Fixed: 379166110 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1159872 Original-Revision: 49cb658aab947d662cebbfee465d83a554d07808 GitOrigin-RevId: 4fa65910cd32aff10802aa7551e42559934f5bc2 Change-Id: If37ba8b848ca4386f8b8e2ea7857d9f4a5440d0e
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.