mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:52:46 +00:00 
			
		
		
		
	Kernel: Make failure to write coredump or perfcore a regular dmesg
This does not need to be a critical dmesg, as the system stays up it makes more sense for it to be a normal dmesg message. Luke mentioned this on discord, they really deserve the credit :^) Reported-by: Luke Wilde <lukew@serenityos.org>
This commit is contained in:
		
							parent
							
								
									9c42a75381
								
							
						
					
					
						commit
						00936e151e
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -627,13 +627,13 @@ void Process::finalize() | |||
|         if (m_should_generate_coredump) { | ||||
|             auto result = dump_core(); | ||||
|             if (result.is_error()) { | ||||
|                 critical_dmesgln("Failed to write coredump: {}", result.error()); | ||||
|                 dmesgln("Failed to write coredump for pid {}: {}", pid(), result.error()); | ||||
|             } | ||||
|         } | ||||
|         if (m_perf_event_buffer) { | ||||
|             auto result = dump_perfcore(); | ||||
|             if (result.is_error()) | ||||
|                 critical_dmesgln("Failed to write perfcore: {}", result.error()); | ||||
|                 dmesgln("Failed to write perfcore for pid {}: {}", pid(), result.error()); | ||||
|             TimeManagement::the().disable_profile_timer(); | ||||
|         } | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brian Gianforcaro
						Brian Gianforcaro