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 {
216216/// This function must only be called after config has been initialized in 
217217/// rinit, and before it is uninitialized in mshutdown. 
218218pub ( 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 ) ) 
221222} 
222223
223224/// # Safety 
@@ -231,8 +232,9 @@ pub(crate) unsafe fn profiling_allocation_enabled() -> bool {
231232/// This function must only be called after config has been initialized in 
232233/// rinit, and before it is uninitialized in mshutdown. 
233234pub ( 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 ) ) 
236238} 
237239
238240/// # Safety 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments