projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build: add Flex version check
[lttng-tools.git]
/
include
/
lttng
/
constant.h
diff --git
a/include/lttng/constant.h
b/include/lttng/constant.h
index ed3ebe073b25c973495d059372a8a32e8ce091d9..10f1bf694503fc5e42d9a20632fb5c5c9c2fdce7 100644
(file)
--- a/
include/lttng/constant.h
+++ b/
include/lttng/constant.h
@@
-45,6
+45,13
@@
/*
* Event symbol length. Copied from LTTng kernel ABI.
*/
/*
* Event symbol length. Copied from LTTng kernel ABI.
*/
-#define LTTNG_SYMBOL_NAME_LEN 256
+#define LTTNG_SYMBOL_NAME_LEN 256
+
+/*
+ * PROC(5) mentions that PID_MAX_LIMIT may not exceed 2^22 on 64-bit HW.
+ * We prefer to use 32-bits for simplicity's sake.
+ */
+#define LTTNG_MAX_PID INT32_MAX
+#define LTTNG_MAX_PID_STR "2147483647"
#endif /* LTTNG_CONSTANT_H */
#endif /* LTTNG_CONSTANT_H */
This page took
0.047662 seconds
and
4
git commands to generate.