Name Description Size
generate_profiling_categories.py \ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef {includeguard} #define {includeguard} /* This file is generated by generate_profiling_categories.py from profiling_categories.yaml. DO NOT EDIT! */ // Profiler sub-categories are applied to each sampled stack to describe the // type of workload that the CPU is busy with. Only one sub-category can be // assigned so be mindful that these are non-overlapping. The active category is // set by pushing a label to the profiling stack, or by the unwinder in cases // such as JITs. A profile sample in arbitrary C++/Rust will typically be // categorized based on the top of the label stack. // // The list of available color names for categories is: // transparent // blue // green // grey // lightblue // magenta // orange // purple // yellow // clang-format off {contents} // clang-format on #endif // {includeguard} 11158
profiling_categories.yaml 7517