Remove building with NOCRYPTO option
[minix.git] / minix / kernel / profile.h
bloba8920dd10be64ee1c1489f9f1c5f49ef8a3fdfb1
1 #ifndef PROFILE_H
2 #define PROFILE_H
4 #include <minix/profile.h>
6 #if SPROFILE /* statistical profiling */
8 #include "arch_watchdog.h"
10 #define SAMPLE_BUFFER_SIZE (64 << 20)
11 extern char sprof_sample_buffer[SAMPLE_BUFFER_SIZE];
13 EXTERN int sprofiling; /* whether profiling is running */
14 EXTERN int sprofiling_type; /* whether profiling is running */
15 EXTERN int sprof_mem_size; /* available user memory for data */
16 EXTERN struct sprof_info_s sprof_info; /* profiling info for user program */
17 EXTERN vir_bytes sprof_data_addr_vir; /* user address to write data */
18 EXTERN endpoint_t sprof_ep; /* user process */
20 void nmi_sprofile_handler(struct nmi_frame * frame);
22 #endif /* SPROFILE */
24 #endif /* PROFILE_H */