| 1 | /* |
| 2 | * wrapper/poll.h |
| 3 | * |
| 4 | * Copyright (C) 2010-2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 5 | * |
| 6 | * Dual LGPL v2.1/GPL v2 license. |
| 7 | */ |
| 8 | |
| 9 | #ifndef CONFIG_LIB_RING_BUFFER |
| 10 | #include <linux/poll.h> |
| 11 | |
| 12 | #warning "poll_wait_set_exclusive() is defined as no-op. Will increase LTTng overhead. Please consider using the LTTng kernel tree for better results." |
| 13 | |
| 14 | /* |
| 15 | * Will cause higher overhead when signalling all possible reader threads when a |
| 16 | * buffer is ready to be consumed. |
| 17 | */ |
| 18 | #define poll_wait_set_exclusive(poll_table) |
| 19 | |
| 20 | #endif |