X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fprintk.h;h=488ac5b59c8b19aab1f370a0c6e15f88b6514eec;hb=47046cfcb4f3aa2df5047657889810c4cecddeea;hp=77fe081b36e835ff26ac6a92afc26bce3fbcecef;hpb=2f2b673aa5458b600c10d736657fcd8dc1e681fa;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/printk.h b/instrumentation/events/lttng-module/printk.h index 77fe081b..488ac5b5 100644 --- a/instrumentation/events/lttng-module/printk.h +++ b/instrumentation/events/lttng-module/printk.h @@ -24,7 +24,7 @@ LTTNG_TRACEPOINT_EVENT_MAP(console, #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)) -LTTNG_TRACEPOINT_EVENT_CONDITION_MAP(console, +LTTNG_TRACEPOINT_EVENT_MAP(console, printk_console, @@ -33,8 +33,6 @@ LTTNG_TRACEPOINT_EVENT_CONDITION_MAP(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) @@ -43,7 +41,7 @@ LTTNG_TRACEPOINT_EVENT_CONDITION_MAP(console, #else /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)) */ -LTTNG_TRACEPOINT_EVENT_CONDITION_MAP(console, +LTTNG_TRACEPOINT_EVENT_MAP(console, printk_console, @@ -52,8 +50,6 @@ LTTNG_TRACEPOINT_EVENT_CONDITION_MAP(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.