From: Mathieu Desnoyers Date: Wed, 2 Apr 2014 15:53:30 +0000 (-0400) Subject: Fix: add missing module version information X-Git-Tag: v2.4.1~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=31c77635394eb16a84e467ced6cb35b23d491ece;p=lttng-modules.git Fix: add missing module version information Signed-off-by: Mathieu Desnoyers --- diff --git a/lib/ringbuffer/ring_buffer_vfs.c b/lib/ringbuffer/ring_buffer_vfs.c index dae73de3..4389b5f6 100644 --- a/lib/ringbuffer/ring_buffer_vfs.c +++ b/lib/ringbuffer/ring_buffer_vfs.c @@ -28,6 +28,7 @@ #include "../../wrapper/ringbuffer/frontend.h" #include "../../wrapper/ringbuffer/vfs.h" #include "../../wrapper/poll.h" +#include "../../lttng-tracer.h" static int put_ulong(unsigned long val, unsigned long arg) { @@ -448,3 +449,7 @@ EXPORT_SYMBOL_GPL(lib_ring_buffer_file_operations); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Ring Buffer Library VFS"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-context-hostname.c b/lttng-context-hostname.c index 7cf7f7c8..4ecee635 100644 --- a/lttng-context-hostname.c +++ b/lttng-context-hostname.c @@ -97,3 +97,7 @@ EXPORT_SYMBOL_GPL(lttng_add_hostname_to_ctx); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Linux Trace Toolkit Perf Support"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-context-nice.c b/lttng-context-nice.c index 974910df..ea4f2ac9 100644 --- a/lttng-context-nice.c +++ b/lttng-context-nice.c @@ -79,3 +79,7 @@ EXPORT_SYMBOL_GPL(lttng_add_nice_to_ctx); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Linux Trace Toolkit Nice Context"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-context-perf-counters.c b/lttng-context-perf-counters.c index d65f6908..2c67ecf3 100644 --- a/lttng-context-perf-counters.c +++ b/lttng-context-perf-counters.c @@ -283,3 +283,7 @@ error_attr: MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Linux Trace Toolkit Perf Support"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-context-pid.c b/lttng-context-pid.c index cb64ff11..36712591 100644 --- a/lttng-context-pid.c +++ b/lttng-context-pid.c @@ -79,3 +79,7 @@ EXPORT_SYMBOL_GPL(lttng_add_pid_to_ctx); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Linux Trace Toolkit PID Context"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-context-ppid.c b/lttng-context-ppid.c index 878c6886..9cb31339 100644 --- a/lttng-context-ppid.c +++ b/lttng-context-ppid.c @@ -91,3 +91,7 @@ EXPORT_SYMBOL_GPL(lttng_add_ppid_to_ctx); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Linux Trace Toolkit PPID Context"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-context-prio.c b/lttng-context-prio.c index fa30ab50..133748e2 100644 --- a/lttng-context-prio.c +++ b/lttng-context-prio.c @@ -100,3 +100,7 @@ EXPORT_SYMBOL_GPL(lttng_add_prio_to_ctx); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Linux Trace Toolkit Priority Context"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-context-procname.c b/lttng-context-procname.c index e9f33a1d..2efd3cd6 100644 --- a/lttng-context-procname.c +++ b/lttng-context-procname.c @@ -83,3 +83,7 @@ EXPORT_SYMBOL_GPL(lttng_add_procname_to_ctx); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Linux Trace Toolkit Perf Support"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-context-tid.c b/lttng-context-tid.c index de745de2..b4e66952 100644 --- a/lttng-context-tid.c +++ b/lttng-context-tid.c @@ -79,3 +79,7 @@ EXPORT_SYMBOL_GPL(lttng_add_tid_to_ctx); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Linux Trace Toolkit TID Context"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-context-vpid.c b/lttng-context-vpid.c index 14364b33..0b498b40 100644 --- a/lttng-context-vpid.c +++ b/lttng-context-vpid.c @@ -85,3 +85,7 @@ EXPORT_SYMBOL_GPL(lttng_add_vpid_to_ctx); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Linux Trace Toolkit vPID Context"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-context-vppid.c b/lttng-context-vppid.c index e36b5552..f723a5c0 100644 --- a/lttng-context-vppid.c +++ b/lttng-context-vppid.c @@ -100,3 +100,7 @@ EXPORT_SYMBOL_GPL(lttng_add_vppid_to_ctx); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Linux Trace Toolkit vPPID Context"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-context-vtid.c b/lttng-context-vtid.c index c98bdf1f..31f40392 100644 --- a/lttng-context-vtid.c +++ b/lttng-context-vtid.c @@ -85,3 +85,7 @@ EXPORT_SYMBOL_GPL(lttng_add_vtid_to_ctx); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Linux Trace Toolkit vTID Context"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-ring-buffer-client-discard.c b/lttng-ring-buffer-client-discard.c index 52eb8111..0038f11a 100644 --- a/lttng-ring-buffer-client-discard.c +++ b/lttng-ring-buffer-client-discard.c @@ -31,3 +31,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("LTTng Ring Buffer Client Discard Mode"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-ring-buffer-client-mmap-discard.c b/lttng-ring-buffer-client-mmap-discard.c index 11d0449f..6d1d76f8 100644 --- a/lttng-ring-buffer-client-mmap-discard.c +++ b/lttng-ring-buffer-client-mmap-discard.c @@ -31,3 +31,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("LTTng Ring Buffer Client Discard Mode"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-ring-buffer-client-mmap-overwrite.c b/lttng-ring-buffer-client-mmap-overwrite.c index d68847a6..8164e2a5 100644 --- a/lttng-ring-buffer-client-mmap-overwrite.c +++ b/lttng-ring-buffer-client-mmap-overwrite.c @@ -31,3 +31,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("LTTng Ring Buffer Client Overwrite Mode"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-ring-buffer-client-overwrite.c b/lttng-ring-buffer-client-overwrite.c index 10de68f3..ab6b7a4a 100644 --- a/lttng-ring-buffer-client-overwrite.c +++ b/lttng-ring-buffer-client-overwrite.c @@ -31,3 +31,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("LTTng Ring Buffer Client Overwrite Mode"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-ring-buffer-metadata-client.c b/lttng-ring-buffer-metadata-client.c index 2ad3d4e9..c177d450 100644 --- a/lttng-ring-buffer-metadata-client.c +++ b/lttng-ring-buffer-metadata-client.c @@ -31,3 +31,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("LTTng Ring Buffer Metadata Client"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-ring-buffer-metadata-mmap-client.c b/lttng-ring-buffer-metadata-mmap-client.c index 3c6e81f9..14ffa3ad 100644 --- a/lttng-ring-buffer-metadata-mmap-client.c +++ b/lttng-ring-buffer-metadata-mmap-client.c @@ -31,3 +31,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("LTTng Ring Buffer Metadata Client"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/lttng-statedump-impl.c b/lttng-statedump-impl.c index a633657a..40eab8e5 100644 --- a/lttng-statedump-impl.c +++ b/lttng-statedump-impl.c @@ -47,6 +47,7 @@ #include #include "lttng-events.h" +#include "lttng-tracer.h" #include "wrapper/irqdesc.h" #include "wrapper/spinlock.h" #include "wrapper/fdtable.h" @@ -448,3 +449,7 @@ module_exit(lttng_statedump_exit); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Jean-Hugues Deschenes"); MODULE_DESCRIPTION("Linux Trace Toolkit Next Generation Statedump"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-ftrace.c b/probes/lttng-ftrace.c index bb70df68..bc4bd5ba 100644 --- a/probes/lttng-ftrace.c +++ b/probes/lttng-ftrace.c @@ -199,3 +199,7 @@ module_exit(lttng_ftrace_exit) MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Linux Trace Toolkit Ftrace Support"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-kprobes.c b/probes/lttng-kprobes.c index fbd24e13..742af678 100644 --- a/probes/lttng-kprobes.c +++ b/probes/lttng-kprobes.c @@ -175,3 +175,7 @@ EXPORT_SYMBOL_GPL(lttng_kprobes_destroy_private); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Linux Trace Toolkit Kprobes Support"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-kretprobes.c b/probes/lttng-kretprobes.c index 6b5e046f..d71090a2 100644 --- a/probes/lttng-kretprobes.c +++ b/probes/lttng-kretprobes.c @@ -288,3 +288,7 @@ EXPORT_SYMBOL_GPL(lttng_kretprobes_destroy_private); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers"); MODULE_DESCRIPTION("Linux Trace Toolkit Kretprobes Support"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-asoc.c b/probes/lttng-probe-asoc.c index ad54a378..8da64b88 100644 --- a/probes/lttng-probe-asoc.c +++ b/probes/lttng-probe-asoc.c @@ -24,6 +24,7 @@ #include #include #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -43,3 +44,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth , Paul Woegerer , and Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng asoc probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-block.c b/probes/lttng-probe-block.c index 3eb668ff..27f2142a 100644 --- a/probes/lttng-probe-block.c +++ b/probes/lttng-probe-block.c @@ -22,6 +22,7 @@ #include #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -43,3 +44,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng block probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-btrfs.c b/probes/lttng-probe-btrfs.c index 4b5f84e3..5f66d37e 100644 --- a/probes/lttng-probe-btrfs.c +++ b/probes/lttng-probe-btrfs.c @@ -27,6 +27,7 @@ #include <../fs/btrfs/transaction.h> #include <../fs/btrfs/volumes.h> #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -46,3 +47,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng btrfs probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-compaction.c b/probes/lttng-probe-compaction.c index 13b99590..86ef375e 100644 --- a/probes/lttng-probe-compaction.c +++ b/probes/lttng-probe-compaction.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -41,3 +42,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng compaction probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-ext3.c b/probes/lttng-probe-ext3.c index 87c8cfb4..ad5e63c8 100644 --- a/probes/lttng-probe-ext3.c +++ b/probes/lttng-probe-ext3.c @@ -25,6 +25,7 @@ #include #include #include +#include "../lttng-tracer.h" #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0)) #include <../fs/ext3/ext3.h> @@ -50,3 +51,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth , Paul Woegerer , and Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng ext3 probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-ext4.c b/probes/lttng-probe-ext4.c index 176186e3..157c9db4 100644 --- a/probes/lttng-probe-ext4.c +++ b/probes/lttng-probe-ext4.c @@ -27,6 +27,7 @@ #include <../fs/ext4/mballoc.h> #include <../fs/ext4/ext4_extents.h> #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -49,3 +50,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng ext4 probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-gpio.c b/probes/lttng-probe-gpio.c index 51692a71..a156722d 100644 --- a/probes/lttng-probe-gpio.c +++ b/probes/lttng-probe-gpio.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -41,3 +42,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth "); MODULE_DESCRIPTION("LTTng gpio probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-irq.c b/probes/lttng-probe-irq.c index bdd78fb3..74a480e5 100644 --- a/probes/lttng-probe-irq.c +++ b/probes/lttng-probe-irq.c @@ -22,6 +22,7 @@ #include #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -43,3 +44,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng irq probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-jbd.c b/probes/lttng-probe-jbd.c index dc948945..2b255e4c 100644 --- a/probes/lttng-probe-jbd.c +++ b/probes/lttng-probe-jbd.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -41,3 +42,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth , Paul Woegerer , and Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng jbd probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-jbd2.c b/probes/lttng-probe-jbd2.c index 30ccf3f8..2fee3722 100644 --- a/probes/lttng-probe-jbd2.c +++ b/probes/lttng-probe-jbd2.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -43,3 +44,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth and Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng jbd2 probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-kmem.c b/probes/lttng-probe-kmem.c index 441df75f..c8252ec0 100644 --- a/probes/lttng-probe-kmem.c +++ b/probes/lttng-probe-kmem.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -43,3 +44,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth and Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng kmem probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-kvm-x86-mmu.c b/probes/lttng-probe-kvm-x86-mmu.c index f0cbf885..ab30b2aa 100644 --- a/probes/lttng-probe-kvm-x86-mmu.c +++ b/probes/lttng-probe-kvm-x86-mmu.c @@ -22,6 +22,7 @@ #include #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -41,3 +42,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng kvm mmu probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-kvm-x86.c b/probes/lttng-probe-kvm-x86.c index abc93a89..a15a4e95 100644 --- a/probes/lttng-probe-kvm-x86.c +++ b/probes/lttng-probe-kvm-x86.c @@ -22,6 +22,7 @@ #include #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -43,3 +44,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng kvm probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-kvm.c b/probes/lttng-probe-kvm.c index bdec1878..e027c800 100644 --- a/probes/lttng-probe-kvm.c +++ b/probes/lttng-probe-kvm.c @@ -22,6 +22,7 @@ #include #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -43,3 +44,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng kvm probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-lock.c b/probes/lttng-probe-lock.c index b95e0c58..50f24c08 100644 --- a/probes/lttng-probe-lock.c +++ b/probes/lttng-probe-lock.c @@ -23,6 +23,7 @@ #include #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -48,3 +49,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth and Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng lock probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-module.c b/probes/lttng-probe-module.c index 35940017..467668d7 100644 --- a/probes/lttng-probe-module.c +++ b/probes/lttng-probe-module.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -43,3 +44,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth and Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng module probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-napi.c b/probes/lttng-probe-napi.c index 47371a82..3500f507 100644 --- a/probes/lttng-probe-napi.c +++ b/probes/lttng-probe-napi.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -43,3 +44,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth "); MODULE_DESCRIPTION("LTTng napi probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-net.c b/probes/lttng-probe-net.c index 54212be5..f46f5c9d 100644 --- a/probes/lttng-probe-net.c +++ b/probes/lttng-probe-net.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -41,3 +42,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth "); MODULE_DESCRIPTION("LTTng net probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-power.c b/probes/lttng-probe-power.c index ff25a8ab..275cc650 100644 --- a/probes/lttng-probe-power.c +++ b/probes/lttng-probe-power.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -43,3 +44,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth and Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng power probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-printk.c b/probes/lttng-probe-printk.c index 1fe1f01a..41f3a7b9 100644 --- a/probes/lttng-probe-printk.c +++ b/probes/lttng-probe-printk.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -41,3 +42,7 @@ 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); diff --git a/probes/lttng-probe-random.c b/probes/lttng-probe-random.c index df9f5510..483a605e 100644 --- a/probes/lttng-probe-random.c +++ b/probes/lttng-probe-random.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -41,3 +42,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng random probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-rcu.c b/probes/lttng-probe-rcu.c index 52165009..874a6738 100644 --- a/probes/lttng-probe-rcu.c +++ b/probes/lttng-probe-rcu.c @@ -23,6 +23,7 @@ #include #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -42,3 +43,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng rcu probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-regmap.c b/probes/lttng-probe-regmap.c index 7c1fd00b..8850b55a 100644 --- a/probes/lttng-probe-regmap.c +++ b/probes/lttng-probe-regmap.c @@ -23,6 +23,7 @@ #include #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -42,3 +43,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng regmap probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-regulator.c b/probes/lttng-probe-regulator.c index 7c8b7f96..735b2c88 100644 --- a/probes/lttng-probe-regulator.c +++ b/probes/lttng-probe-regulator.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -41,3 +42,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth "); MODULE_DESCRIPTION("LTTng regulator probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-rpm.c b/probes/lttng-probe-rpm.c index 607e9e55..55c11c31 100644 --- a/probes/lttng-probe-rpm.c +++ b/probes/lttng-probe-rpm.c @@ -23,6 +23,7 @@ #include #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -42,3 +43,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng rpm probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-sched.c b/probes/lttng-probe-sched.c index 8a72e145..e132260f 100644 --- a/probes/lttng-probe-sched.c +++ b/probes/lttng-probe-sched.c @@ -21,6 +21,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -42,3 +43,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng sched probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-scsi.c b/probes/lttng-probe-scsi.c index 57677c6a..77273948 100644 --- a/probes/lttng-probe-scsi.c +++ b/probes/lttng-probe-scsi.c @@ -23,6 +23,7 @@ #include #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -42,3 +43,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth and Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng scsi probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-signal.c b/probes/lttng-probe-signal.c index 44273a14..305b5144 100644 --- a/probes/lttng-probe-signal.c +++ b/probes/lttng-probe-signal.c @@ -21,6 +21,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -40,3 +41,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng signal probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-skb.c b/probes/lttng-probe-skb.c index 71e890d6..196ccd7b 100644 --- a/probes/lttng-probe-skb.c +++ b/probes/lttng-probe-skb.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -43,3 +44,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth and Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng skb probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-sock.c b/probes/lttng-probe-sock.c index b3e699a1..96dbcb43 100644 --- a/probes/lttng-probe-sock.c +++ b/probes/lttng-probe-sock.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -41,3 +42,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth "); MODULE_DESCRIPTION("LTTng sock probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-statedump.c b/probes/lttng-probe-statedump.c index fc2af91d..d5b2957f 100644 --- a/probes/lttng-probe-statedump.c +++ b/probes/lttng-probe-statedump.c @@ -29,6 +29,7 @@ #include #include #include "../lttng-events.h" +#include "../lttng-tracer.h" /* * Create LTTng tracepoint probes. @@ -44,3 +45,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng statedump probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-sunrpc.c b/probes/lttng-probe-sunrpc.c index 504413e0..d990c1bc 100644 --- a/probes/lttng-probe-sunrpc.c +++ b/probes/lttng-probe-sunrpc.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -41,3 +42,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng sunrpc probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-timer.c b/probes/lttng-probe-timer.c index 299f630c..f86f7120 100644 --- a/probes/lttng-probe-timer.c +++ b/probes/lttng-probe-timer.c @@ -21,6 +21,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -44,3 +45,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng timer probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-udp.c b/probes/lttng-probe-udp.c index 51ec3cb6..ed3eb351 100644 --- a/probes/lttng-probe-udp.c +++ b/probes/lttng-probe-udp.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -41,3 +42,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth "); MODULE_DESCRIPTION("LTTng udp probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-vmscan.c b/probes/lttng-probe-vmscan.c index d5892a49..994e5145 100644 --- a/probes/lttng-probe-vmscan.c +++ b/probes/lttng-probe-vmscan.c @@ -22,6 +22,7 @@ */ #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -43,3 +44,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Wade Farnsworth , Paul Woegerer , and Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng vmscan probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-workqueue.c b/probes/lttng-probe-workqueue.c index f643476f..044536e0 100644 --- a/probes/lttng-probe-workqueue.c +++ b/probes/lttng-probe-workqueue.c @@ -23,6 +23,7 @@ #include #include +#include "../lttng-tracer.h" struct cpu_workqueue_struct; struct pool_workqueue; @@ -47,3 +48,7 @@ struct pool_workqueue; MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng workqueue probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-probe-writeback.c b/probes/lttng-probe-writeback.c index 5e421e59..71752d7d 100644 --- a/probes/lttng-probe-writeback.c +++ b/probes/lttng-probe-writeback.c @@ -24,6 +24,7 @@ #include #include #include +#include "../lttng-tracer.h" /* * Create the tracepoint static inlines from the kernel to validate that our @@ -52,3 +53,7 @@ MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Andrew Gabbasov "); MODULE_DESCRIPTION("LTTng writeback probes"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION); diff --git a/probes/lttng-types.c b/probes/lttng-types.c index 76519a88..09734543 100644 --- a/probes/lttng-types.c +++ b/probes/lttng-types.c @@ -26,6 +26,7 @@ #include "../lttng-events.h" #include "lttng-types.h" #include +#include "../lttng-tracer.h" #define STAGE_EXPORT_ENUMS #include "lttng-types.h" @@ -59,3 +60,7 @@ module_exit(lttng_types_exit); MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers "); MODULE_DESCRIPTION("LTTng types"); +MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." + __stringify(LTTNG_MODULES_MINOR_VERSION) "." + __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) + LTTNG_MODULES_EXTRAVERSION);