Print a message while flushing the traces
This commit is contained in:
		
							parent
							
								
									b265442b8c
								
							
						
					
					
						commit
						69e8f5ba12
					
				@ -70,6 +70,8 @@ recorder_advance(struct recorder *rec, int64_t time)
 | 
				
			|||||||
int
 | 
					int
 | 
				
			||||||
recorder_finish(struct recorder *rec)
 | 
					recorder_finish(struct recorder *rec)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 | 
						err("writting the traces to disk, please wait");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	for (struct pvt *pvt = rec->pvt; pvt; pvt = pvt->hh.next) {
 | 
						for (struct pvt *pvt = rec->pvt; pvt; pvt = pvt->hh.next) {
 | 
				
			||||||
		if (pvt_close(pvt) != 0) {
 | 
							if (pvt_close(pvt) != 0) {
 | 
				
			||||||
			err("pvt_close failed");
 | 
								err("pvt_close failed");
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user