Fix: printk instrumentation: remove "condition" tracepoints
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 5 May 2015 19:42:37 +0000 (15:42 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 5 May 2015 19:42:37 +0000 (15:42 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/printk.h

index 77fe081b36e835ff26ac6a92afc26bce3fbcecef..488ac5b59c8b19aab1f370a0c6e15f88b6514eec 100644 (file)
@@ -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.
This page took 0.026733 seconds and 4 git commands to generate.