X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fprintk.h;h=fd7cccc3769a9627092e536eede966600be7e1d3;hb=9bbf98da13bbaf289ac5787a80325d2e1dd81d0d;hp=16949c4d83da54c25cebc73c01fb655c387da558;hpb=f934e302d314d76563484f31caed56ad680eb17b;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/printk.h b/instrumentation/events/lttng-module/printk.h index 16949c4d..fd7cccc3 100644 --- a/instrumentation/events/lttng-module/printk.h +++ b/instrumentation/events/lttng-module/printk.h @@ -9,7 +9,10 @@ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)) -LTTNG_TRACEPOINT_EVENT(console, +LTTNG_TRACEPOINT_EVENT_MAP(console, + + printk_console, + TP_PROTO(const char *text, size_t len), TP_ARGS(text, len), @@ -27,7 +30,10 @@ LTTNG_TRACEPOINT_EVENT(console, #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)) -LTTNG_TRACEPOINT_EVENT_CONDITION(console, +LTTNG_TRACEPOINT_EVENT_CONDITION_MAP(console, + + printk_console, + TP_PROTO(const char *log_buf, unsigned start, unsigned end, unsigned log_buf_len), @@ -48,7 +54,10 @@ LTTNG_TRACEPOINT_EVENT_CONDITION(console, #else /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)) */ -LTTNG_TRACEPOINT_EVENT_CONDITION(console, +LTTNG_TRACEPOINT_EVENT_CONDITION_MAP(console, + + printk_console, + TP_PROTO(const char *log_buf, unsigned start, unsigned end, unsigned log_buf_len),