commit | 8ba533815592b969d5fbff7b5dc3f51cdf7c70c5 | [log] [tgz] |
---|---|---|
author | Anirudh Mathukumilli <rudymathu@fuchsia.infra.roller.google.com> | Wed Mar 19 14:50:43 2025 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Mar 19 14:52:22 2025 -0700 |
tree | 3e5df7392a4c9ff4fbb4495add460a70cbdcee58 | |
parent | f58f23d345239ddc19b8b219dc3009107f835873 [diff] |
[roll] Roll fuchsia [kernel] Move ktrace_init into KTrace singleton This moves ktrace_init, which is the LK_INIT_HOOK that initializes the tracing subsystem in the kernel, to a static method in the KTrace singleton. Some of the operations in the init function have been reordered: the early exit when ktrace is disabled now runs before the RegisterCallback and the CategoryBits are set up, since they will not be needed if ktrace is unused. This is the final callsite that made use of the public accessor for the internal KTraceState. With its removal, we can finally make that accessor private and prevent any files that include ktrace.h from being able to access that internal state. Original-Bug: 42069955 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1232105 Original-Revision: a35f49ae59dcacbe85b113cd0b75caf1b6dce3da GitOrigin-RevId: dd029f2c6c48ae4e8a72d9f900484a71d5a01b4d Change-Id: I11cf006a8789a544319a5ce947c51222a28f5375
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
.