X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-probe-printk.c;h=6c02531c1aaa67f7f82add467c39631cf95c8599;hb=7299e758b109db074589f7879ae631b27c25dc05;hp=1fe1f01a65c395a02f1f1120e313fdfd4011474c;hpb=b87700e318c27267890cbd6fb5e50b687279131b;p=lttng-modules.git diff --git a/probes/lttng-probe-printk.c b/probes/lttng-probe-printk.c index 1fe1f01a..6c02531c 100644 --- a/probes/lttng-probe-printk.c +++ b/probes/lttng-probe-printk.c @@ -22,6 +22,7 @@ */ #include +#include /* * Create the tracepoint static inlines from the kernel to validate that our @@ -34,10 +35,14 @@ */ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS -#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module +#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module -#include "../instrumentation/events/lttng-module/printk.h" +#include MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng printk probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION);