Motr  M0
config.h
Go to the documentation of this file.
1 /* config.h. Generated from config.h.in by configure. */
2 /* config.h.in. Generated from configure.ac by autoheader. */
3 
4 
5 #pragma once
6 
7 #ifndef __MOTR_CONFIG_H__
8 #define __MOTR_CONFIG_H__
9 
10 
11 /* Support for AARCH64 platform */
12 /* #undef CONFIG_AARCH64 */
13 
14 /* Support for X86_64 platform */
15 #define CONFIG_X86_64 1
16 
17 /* Enable balloc dumps in trace log. */
18 #define ENABLE_BALLOC_DUMP 1
19 
20 /* Enable data integrity. */
21 /* #undef ENABLE_DATA_INTEGRITY */
22 
23 /* Enable debug info and disable optimizations. */
24 /* #undef ENABLE_DEBUG */
25 
26 /* Enable detailed backtraces on crash using gdb. */
27 /* #undef ENABLE_DETAILED_BACKTRACE */
28 
29 /* Enable developer mode. */
30 #define ENABLE_DEV_MODE 1
31 
32 /* Enable distribution mode (only for package building). */
33 /* #undef ENABLE_DIST_MODE */
34 
35 /* Enable DTM0 mode. */
36 #define ENABLE_DTM0 0
37 
38 /* Enable expensive checks. */
39 #define ENABLE_EXPENSIVE_CHECKS 1
40 
41 /* Enable fault injection. */
42 #define ENABLE_FAULT_INJECTION 1
43 
44 /* Enable frame pointers (for better stack traces). */
45 #define ENABLE_FRAME_POINTERS 1
46 
47 /* Poison freed memory for debugging. */
48 #define ENABLE_FREE_POISON 1
49 
50 /* Use deprecated GCC-XML instead of CastXML */
51 /* #undef ENABLE_GCCXML */
52 
53 /* Enable immediate tracing. */
54 #define ENABLE_IMMEDIATE_TRACE 1
55 
56 /* Enable Libfabric network stack. */
57 /* #undef ENABLE_LIBFAB */
58 
59 /* Enable LNet network stack from Lustre. */
60 /* #undef ENABLE_LUSTRE */
61 
62 /* Enable profile samples gathering. */
63 /* #undef ENABLE_PROFILER */
64 
65 /* Enable release mode (this has the same effect as --disable-dev-mode). */
66 /* #undef ENABLE_RELEASE */
67 
68 /* Enable restricted trace mode, when only some trace records get logged. */
69 /* #undef ENABLE_RESTRICTED_TRACE_MODE */
70 
71 /* Enable LNet simulation in net/sock. Forces sock to pretend to be lnet. With
72  this option end-points prefixed with "lnet:" are interpreted by sock. */
73 /* #undef ENABLE_SOCK_MOCK_LNET */
74 
75 /* Enable gcc built-in atomic functions */
76 /* #undef ENABLE_SYNC_ATOMIC */
77 
78 /* Enabling user mode shall avoid kernel deps */
79 #define ENABLE_USER_MODE_ONLY 1
80 
81 /* Define to 1 if you have the <arpa/inet.h> header file. */
82 #define HAVE_ARPA_INET_H 1
83 
84 /* Have backtrace(3) function */
85 #define HAVE_BACKTRACE 1
86 
87 /* Define to 1 if you have the <cassandra.h> header file. */
88 /* #undef HAVE_CASSANDRA_H */
89 
90 /* Define to 1 if you have the <dlfcn.h> header file. */
91 #define HAVE_DLFCN_H 1
92 
93 /* Define to 1 if you have the `dup2' function. */
94 #define HAVE_DUP2 1
95 
96 /* Define to 1 if you have the <fcntl.h> header file. */
97 #define HAVE_FCNTL_H 1
98 
99 /* Have fops->aio_read function */
100 /* #undef HAVE_FILE_AIO_READ */
101 
102 /* Have fops->readv function */
103 /* #undef HAVE_FILE_READV */
104 
105 /* Define to 1 if you have the `getcwd' function. */
106 #define HAVE_GETCWD 1
107 
108 /* Define to 1 if you have the `getpagesize' function. */
109 #define HAVE_GETPAGESIZE 1
110 
111 /* Define to 1 if you have the `gettimeofday' function. */
112 #define HAVE_GETTIMEOFDAY 1
113 
114 /* Have inode->i_blksize field */
115 /* #undef HAVE_INODE_BLKSIZE */
116 
117 /* Define to 1 if you have the <inttypes.h> header file. */
118 #define HAVE_INTTYPES_H 1
119 
120 /* Define to 1 if you have the <isa-l.h> header file. */
121 #define HAVE_ISA_L_H 1
122 
123 /* Have journal_abort() function */
124 /* #undef HAVE_JOURNAL_ABORT */
125 
126 /* Define to 1 if you have the <limits.h> header file. */
127 #define HAVE_LIMITS_H 1
128 
129 /* Have mallinfo() function */
130 #define HAVE_MALLINFO 1
131 
132 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
133  to 0 otherwise. */
134 #define HAVE_MALLOC 1
135 
136 /* Define to 1 if you have the <malloc.h> header file. */
137 #define HAVE_MALLOC_H 1
138 
139 /* Have malloc_size() function */
140 /* #undef HAVE_MALLOC_SIZE */
141 
142 /* Define to 1 if you have the `memmove' function. */
143 #define HAVE_MEMMOVE 1
144 
145 /* Define to 1 if you have the <memory.h> header file. */
146 #define HAVE_MEMORY_H 1
147 
148 /* Define to 1 if you have the `memset' function. */
149 #define HAVE_MEMSET 1
150 
151 /* Define to 1 if you have the `mkdir' function. */
152 #define HAVE_MKDIR 1
153 
154 /* Define to 1 if you have a working `mmap' system call. */
155 #define HAVE_MMAP 1
156 
157 /* Define to 1 if you have the `munmap' function. */
158 #define HAVE_MUNMAP 1
159 
160 /* Define to 1 if you have the <netdb.h> header file. */
161 #define HAVE_NETDB_H 1
162 
163 /* Define to 1 if you have the <netinet/in.h> header file. */
164 #define HAVE_NETINET_IN_H 1
165 
166 /* Define to 1 if you have the <openssl/md5.h> header file. */
167 #define HAVE_OPENSSL_MD5_H 1
168 
169 /* Define to 1 if the system has the type `pthread_barrier_t'. */
170 #define HAVE_PTHREAD_BARRIER_T 1
171 
172 /* Define to 1 if you have the <pthread.h> header file. */
173 #define HAVE_PTHREAD_H 1
174 
175 /* Define to 1 if you have the <rdma/fabric.h> header file. */
176 /* #undef HAVE_RDMA_FABRIC_H */
177 
178 /* Have .sendfile */
179 /* #undef HAVE_SENDFILE */
180 
181 /* Define to 1 if you have the `setenv' function. */
182 #define HAVE_SETENV 1
183 
184 /* Define to 1 if you have the `sqrt' function. */
185 /* #undef HAVE_SQRT */
186 
187 /* Define to 1 if stdbool.h conforms to C99. */
188 #define HAVE_STDBOOL_H 1
189 
190 /* Define to 1 if you have the <stddef.h> header file. */
191 #define HAVE_STDDEF_H 1
192 
193 /* Define to 1 if you have the <stdint.h> header file. */
194 #define HAVE_STDINT_H 1
195 
196 /* Define to 1 if you have the <stdlib.h> header file. */
197 #define HAVE_STDLIB_H 1
198 
199 /* Define to 1 if you have the `strcasecmp' function. */
200 #define HAVE_STRCASECMP 1
201 
202 /* Define to 1 if you have the `strchr' function. */
203 #define HAVE_STRCHR 1
204 
205 /* Define to 1 if you have the `strdup' function. */
206 #define HAVE_STRDUP 1
207 
208 /* Define to 1 if you have the `strerror' function. */
209 #define HAVE_STRERROR 1
210 
211 /* Define to 1 if you have the <strings.h> header file. */
212 #define HAVE_STRINGS_H 1
213 
214 /* Define to 1 if you have the <string.h> header file. */
215 #define HAVE_STRING_H 1
216 
217 /* Define to 1 if you have the `strrchr' function. */
218 #define HAVE_STRRCHR 1
219 
220 /* Define to 1 if you have the `strstr' function. */
221 #define HAVE_STRSTR 1
222 
223 /* Define to 1 if you have the `strtol' function. */
224 #define HAVE_STRTOL 1
225 
226 /* Define to 1 if you have the `strtoul' function. */
227 #define HAVE_STRTOUL 1
228 
229 /* Define to 1 if you have the `strtoull' function. */
230 #define HAVE_STRTOULL 1
231 
232 /* Have systemd available */
233 #define HAVE_SYSTEMD 1
234 
235 /* Define to 1 if you have the <systemd/sd-daemon.h> header file. */
236 #define HAVE_SYSTEMD_SD_DAEMON_H 1
237 
238 /* Define to 1 if you have the <sys/ioctl.h> header file. */
239 #define HAVE_SYS_IOCTL_H 1
240 
241 /* Define to 1 if you have the <sys/param.h> header file. */
242 #define HAVE_SYS_PARAM_H 1
243 
244 /* Define to 1 if you have the <sys/socket.h> header file. */
245 #define HAVE_SYS_SOCKET_H 1
246 
247 /* Define to 1 if you have the <sys/stat.h> header file. */
248 #define HAVE_SYS_STAT_H 1
249 
250 /* Define to 1 if you have the <sys/time.h> header file. */
251 #define HAVE_SYS_TIME_H 1
252 
253 /* Define to 1 if you have the <sys/types.h> header file. */
254 #define HAVE_SYS_TYPES_H 1
255 
256 /* Define to 1 if you have the <unistd.h> header file. */
257 #define HAVE_UNISTD_H 1
258 
259 /* Define to 1 if you have the <uv.h> header file. */
260 /* #undef HAVE_UV_H */
261 
262 /* Have .begin_write/end_write */
263 /* #undef HAVE_WRITE_BEGIN_END */
264 
265 /* Define to 1 if you have the <yaml.h> header file. */
266 #define HAVE_YAML_H 1
267 
268 /* Define to 1 if the system has the type `_Bool'. */
269 #define HAVE__BOOL 1
270 
271 /* Cassandra driver version >= 2.2. */
272 /* #undef IDX_CASS_DRV_V22 */
273 
274 /* Define to the sub-directory where libtool stores uninstalled libraries. */
275 #define LT_OBJDIR ".libs/"
276 
277 /* BE segment size in MiB. */
278 /* #undef M0_BE_SEGMENT_SIZE */
279 
280 /* Default network transport type. */
281 #define M0_DEFAULT_NETWORK "LNET"
282 
283 /* Autodetected Lustre version represented as integer */
284 #define M0_LUSTRE_VERSION 0
285 
286 /* Disable M0_ASSERT. */
287 /* #undef M0_NDEBUG */
288 
289 /* Highest trace level that is allowed to be logged. */
290 /* #undef M0_TRACE_HIGHEST_ALLOWED_LEVEL */
291 
292 /* Kernel space trace buffer size in MiB. */
293 #define M0_TRACE_KBUF_SIZE (4 * 1024 * 1024UL)
294 
295 /* User space trace buffer size in MiB. */
296 #define M0_TRACE_UBUF_SIZE (16 * 1024 * 1024UL)
297 
298 /* Use Cassandra as KVS backend. */
299 /* #undef MOTR_IDX_STORE_CASS */
300 
301 /* Name of package */
302 #define PACKAGE "cortx-motr"
303 
304 /* Define to the address where bug reports for this package should be sent. */
305 #define PACKAGE_BUGREPORT "info@seagate.com"
306 
307 /* Define to the full name of this package. */
308 #define PACKAGE_NAME "cortx-motr"
309 
310 /* Define to the full name and version of this package. */
311 #define PACKAGE_STRING "cortx-motr 2.0.0"
312 
313 /* Define to the one symbol short name of this package. */
314 #define PACKAGE_TARNAME "cortx-motr"
315 
316 /* Define to the home page for this package. */
317 #define PACKAGE_URL ""
318 
319 /* Define to the version of this package. */
320 #define PACKAGE_VERSION "2.0.0"
321 
322 /* The size of `long', as computed by sizeof. */
323 #define SIZEOF_LONG 8
324 
325 /* Define to 1 if you have the ANSI C header files. */
326 #define STDC_HEADERS 1
327 
328 /* Version number of package */
329 #define VERSION "2.0.0"
330 
331 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
332  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
333  #define below would cause a syntax error. */
334 /* #undef _UINT32_T */
335 
336 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
337  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
338  #define below would cause a syntax error. */
339 /* #undef _UINT64_T */
340 
341 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
342  <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
343  #define below would cause a syntax error. */
344 /* #undef _UINT8_T */
345 
346 /* Define to `int' if <sys/types.h> doesn't define. */
347 /* #undef gid_t */
348 
349 /* Define to `__inline__' or `__inline' if that's what the C compiler
350  calls it, or to nothing if 'inline' is not supported under any name. */
351 #ifndef __cplusplus
352 /* #undef inline */
353 #endif
354 
355 /* Define to the type of a signed integer type of width exactly 32 bits if
356  such a type exists and the standard includes do not define it. */
357 /* #undef int32_t */
358 
359 /* Define to the type of a signed integer type of width exactly 64 bits if
360  such a type exists and the standard includes do not define it. */
361 /* #undef int64_t */
362 
363 /* Define to rpl_malloc if the replacement function should be used. */
364 /* #undef malloc */
365 
366 /* Define to `int' if <sys/types.h> does not define. */
367 /* #undef mode_t */
368 
369 /* Define to `long int' if <sys/types.h> does not define. */
370 /* #undef off_t */
371 
372 /* Define to `int' if <sys/types.h> does not define. */
373 /* #undef pid_t */
374 
375 /* Define to `unsigned int' if <sys/types.h> does not define. */
376 /* #undef size_t */
377 
378 /* Define to `int' if <sys/types.h> does not define. */
379 /* #undef ssize_t */
380 
381 /* Define to `int' if <sys/types.h> doesn't define. */
382 /* #undef uid_t */
383 
384 /* Define to the type of an unsigned integer type of width exactly 16 bits if
385  such a type exists and the standard includes do not define it. */
386 /* #undef uint16_t */
387 
388 /* Define to the type of an unsigned integer type of width exactly 32 bits if
389  such a type exists and the standard includes do not define it. */
390 /* #undef uint32_t */
391 
392 /* Define to the type of an unsigned integer type of width exactly 64 bits if
393  such a type exists and the standard includes do not define it. */
394 /* #undef uint64_t */
395 
396 /* Define to the type of an unsigned integer type of width exactly 8 bits if
397  such a type exists and the standard includes do not define it. */
398 /* #undef uint8_t */
399 
400 
401 #endif /* __MOTR_CONFIG_H__ */
402