commit | b80ca99f5c571b664079fe73e88461a146875541 | [log] [tgz] |
---|---|---|
author | Venkatesh Srinivas <venkateshs@google.com> | Mon Oct 26 18:24:58 2020 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Mon Oct 26 18:24:58 2020 +0000 |
tree | baf6157e4f308bdd82171d985cf43238a0b58e78 | |
parent | 1f109a818bdfb50343c2d22dfb8dc1b3cb6b0744 [diff] |
[kernel] perf_mon: Convert perfmon_active from legacy to ktl::atomic perf_mon uses a global flag to track whether performance monitoring/ instruction tracing is actively tracing the whole system. Convert the flag from int / legacy atomics -> ktl::atomic; there were no complex uses of the flag, it was just used to control state for enable/disable and gate the PMI interrupt handler. Bug: 47117 Use ktl::atomic only in the kernel Change-Id: I61c0e6bdbb3de73d39162734d8553454a2b50a68 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/442754 Reviewed-by: George Kulakowski <kulakowski@google.com> Testability-Review: George Kulakowski <kulakowski@google.com> Commit-Queue: Venkatesh Srinivas <venkateshs@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.