LTTng stands for Linux Trace Toolkit: next generation. It's a modern toolkit for tracing Linux (And now FreeBSD, only userspace now) programs. PR: 216142 Submitted by: mmokhi Reported by: mmokhi Reviewed by: feld, mat Approved by: feld, mat (mentors) Differential Revision: https://reviews.freebsd.org/D9200
14 lines
368 B
C
14 lines
368 B
C
--- src/common/compat/compat-poll.c.orig 2017-01-13 22:38:05 UTC
|
|
+++ src/common/compat/compat-poll.c
|
|
@@ -112,7 +112,11 @@ int compat_poll_create(struct lttng_poll
|
|
|
|
if (!poll_max_size) {
|
|
ERR("poll_max_size not initialized yet");
|
|
+#if defined(__FreeBSD__)
|
|
+ poll_max_size = DEFAULT_POLL_SIZE;
|
|
+#else
|
|
goto error;
|
|
+#endif
|
|
}
|
|
|
|
/* Don't bust the limit here */
|