#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0))
-LTTNG_TRACEPOINT_EVENT_CONDITION_MAP(console,
+LTTNG_TRACEPOINT_EVENT_MAP(console,
printk_console,
TP_ARGS(log_buf, start, end, log_buf_len),
- TP_CONDITION(start != end),
-
TP_FIELDS(
ctf_sequence_text(char, msg, log_buf + start,
size_t, end - start)
#else /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)) */
-LTTNG_TRACEPOINT_EVENT_CONDITION_MAP(console,
+LTTNG_TRACEPOINT_EVENT_MAP(console,
printk_console,
TP_ARGS(log_buf, start, end, log_buf_len),
- TP_CONDITION(start != end),
-
TP_FIELDS(
/*
* printk buffer is gathered from two segments on older kernels.