#include <linux/poll.h>
-#warning "poll_wait_set_exclusive() is defined as no-op. Thundering herd effect can be noticed with large number of consumer threads."
+/*
+ * Note: poll_wait_set_exclusive() is defined as no-op. Thundering herd
+ * effect can be noticed with large number of consumer threads.
+ */
#define poll_wait_set_exclusive(poll_table)
static inline int get_trace_clock(void)
{
+ /*
+ * LTTng: Using mainline kernel monotonic clock. NMIs will not be
+ * traced, and expect significant performance degradation compared to
+ * the LTTng trace clocks. Integration of the LTTng 0.x trace clocks
+ * into LTTng 2.0 is planned in a near future.
+ */
printk(KERN_WARNING "LTTng: Using mainline kernel monotonic clock.\n");
printk(KERN_WARNING " * NMIs will not be traced,\n");
printk(KERN_WARNING " * expect significant performance degradation compared to the\n");
printk(KERN_WARNING "Integration of the LTTng 0.x trace clocks into LTTng 2.0 is planned\n");
printk(KERN_WARNING "in a near future.\n");
-#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be traced, and expect significant performance degradation compared to the LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 2.0 is planned in a near future."
-
return 0;
}