X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-statedump-impl.c;h=40eab8e54a4c0fa3488108bb120edcf44cb45985;hb=989f58e80ffdf6fbc3150d14977c2bff411d3b9c;hp=35e18a473201b9756430055fd38278071cd50aa6;hpb=461277e79d60d55afc769d76ece385681835d02b;p=lttng-modules.git diff --git a/lttng-statedump-impl.c b/lttng-statedump-impl.c old mode 100755 new mode 100644 index 35e18a47..40eab8e5 --- 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" @@ -426,7 +427,14 @@ EXPORT_SYMBOL_GPL(lttng_statedump_start); static int __init lttng_statedump_init(void) { - return wrapper_lttng_fixup_sig(THIS_MODULE); + /* + * Allow module to load even if the fixup cannot be done. This + * will allow seemless transition when the underlying issue fix + * is merged into the Linux kernel, and when tracepoint.c + * "tracepoint_module_notify" is turned into a static function. + */ + (void) wrapper_lttng_fixup_sig(THIS_MODULE); + return 0; } module_init(lttng_statedump_init); @@ -441,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);