 1dcfbcd173
			
		
	
	
		1dcfbcd173
		
	
	
	
	
		
			
			The entire infrastructure relied on an ACK feature, and as such, it has been broken for years now, with no easy way to repair it. Change-Id: I783c2a21276967af115a642199f31fef0f14a572
		
			
				
	
	
		
			26 lines
		
	
	
		
			715 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			715 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef PROFILE_H
 | |
| #define PROFILE_H
 | |
| 
 | |
| #include <minix/profile.h>
 | |
| 
 | |
| #if SPROFILE	/* statistical profiling */
 | |
| 
 | |
| #include "arch_watchdog.h"
 | |
| 
 | |
| #define SAMPLE_BUFFER_SIZE	(64 << 20)
 | |
| extern char sprof_sample_buffer[SAMPLE_BUFFER_SIZE];
 | |
| 
 | |
| EXTERN int sprofiling;			/* whether profiling is running */
 | |
| EXTERN int sprofiling_type;			/* whether profiling is running */
 | |
| EXTERN int sprof_mem_size;		/* available user memory for data */
 | |
| EXTERN struct sprof_info_s sprof_info;	/* profiling info for user program */
 | |
| EXTERN vir_bytes sprof_data_addr_vir;	/* user address to write data */
 | |
| EXTERN endpoint_t sprof_ep;		/* user process */
 | |
| 
 | |
| void nmi_sprofile_handler(struct nmi_frame * frame);
 | |
| 
 | |
| #endif /* SPROFILE */
 | |
| 
 | |
| #endif /* PROFILE_H */
 | |
| 
 |