[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>
4 files changed
tree: baf6157e4f308bdd82171d985cf43238a0b58e78
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. garnet/
  7. products/
  8. scripts/
  9. sdk/
  10. src/
  11. third_party/
  12. tools/
  13. zircon/
  14. .clang-format
  15. .clang-tidy
  16. .gitattributes
  17. .gitignore
  18. .gn
  19. .style.yapf
  20. AUTHORS
  21. BUILD.gn
  22. CODE_OF_CONDUCT.md
  23. CONTRIBUTING.md
  24. LICENSE
  25. OWNERS
  26. PATENTS
  27. README.md
  28. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

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.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.