File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -216,8 +216,9 @@ pub(crate) unsafe fn profiling_endpoint_collection_enabled() -> bool {
216
216
/// This function must only be called after config has been initialized in
217
217
/// rinit, and before it is uninitialized in mshutdown.
218
218
pub ( crate ) unsafe fn profiling_experimental_cpu_time_enabled ( ) -> bool {
219
- profiling_experimental_features_enabled ( )
220
- || profiling_enabled ( ) && get_bool ( ProfilingExperimentalCpuTimeEnabled , true )
219
+ profiling_enabled ( )
220
+ && ( profiling_experimental_features_enabled ( )
221
+ || get_bool ( ProfilingExperimentalCpuTimeEnabled , true ) )
221
222
}
222
223
223
224
/// # Safety
@@ -231,8 +232,9 @@ pub(crate) unsafe fn profiling_allocation_enabled() -> bool {
231
232
/// This function must only be called after config has been initialized in
232
233
/// rinit, and before it is uninitialized in mshutdown.
233
234
pub ( crate ) unsafe fn profiling_experimental_timeline_enabled ( ) -> bool {
234
- profiling_experimental_features_enabled ( )
235
- || profiling_enabled ( ) && get_bool ( ProfilingExperimentalTimelineEnabled , false )
235
+ profiling_enabled ( )
236
+ && ( profiling_experimental_features_enabled ( )
237
+ || get_bool ( ProfilingExperimentalTimelineEnabled , false ) )
236
238
}
237
239
238
240
/// # Safety
You can’t perform that action at this time.
0 commit comments