Project import generated by Copybara. NOKEYCHECK=True GitOrigin-RevId: 620516c9db10f70f41049bc78865898c4d63997f
diff --git a/production/sw/tps/lttng-modules/lttng-modules.patches/lttng-modules-50.patch b/production/sw/tps/lttng-modules/lttng-modules.patches/lttng-modules-50.patch new file mode 100644 index 0000000..ef0cfce --- /dev/null +++ b/production/sw/tps/lttng-modules/lttng-modules.patches/lttng-modules-50.patch
@@ -0,0 +1,24 @@ +diff -aruN a/wrapper/compiler.h b/wrapper/compiler.h +--- a/wrapper/compiler.h 2015-09-04 10:20:27.133032355 -0700 ++++ b/wrapper/compiler.h 2015-09-04 10:20:35.688926684 -0700 +@@ -23,20 +23,4 @@ + + #include <linux/compiler.h> + +-/* +- * Don't allow compiling with buggy compiler. +- */ +- +-#ifdef GCC_VERSION +- +-/* +- * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854 +- */ +-# ifdef __ARMEL__ +-# if GCC_VERSION >= 40800 && GCC_VERSION <= 40802 +-# error Your gcc version produces clobbered frame accesses +-# endif +-# endif +-#endif +- + #endif /* _LTTNG_WRAPPER_COMPILER_H */
diff --git a/production/sw/tps/lttng-modules/lttng-modules.patches/lttng-modules-51.patch b/production/sw/tps/lttng-modules/lttng-modules.patches/lttng-modules-51.patch new file mode 100644 index 0000000..2b1e639 --- /dev/null +++ b/production/sw/tps/lttng-modules/lttng-modules.patches/lttng-modules-51.patch
@@ -0,0 +1,12 @@ +diff -aruN a/probes/Makefile b/probes/Makefile +--- a/probes/Makefile 2015-06-18 10:49:01.000000000 -0700 ++++ b/probes/Makefile 2016-05-06 22:59:08.177878721 -0700 +@@ -204,7 +204,7 @@ + endif + endif + +-ifneq ($(CONFIG_PM_RUNTIME),) ++ifneq ($(CONFIG_PM),) + obj-m += $(shell \ + if [ $(VERSION) -ge 4 \ + -o \( $(VERSION) -eq 3 -a $(PATCHLEVEL) -ge 2 \) ] ; then \
diff --git a/production/sw/tps/lttng-modules/lttng-modules.tar.bz2 b/production/sw/tps/lttng-modules/lttng-modules.tar.bz2 new file mode 100644 index 0000000..ccf85d5 --- /dev/null +++ b/production/sw/tps/lttng-modules/lttng-modules.tar.bz2 Binary files differ
diff --git a/production/sw/tps/lttng-modules/lttng-modules.url b/production/sw/tps/lttng-modules/lttng-modules.url new file mode 100644 index 0000000..6f687e4 --- /dev/null +++ b/production/sw/tps/lttng-modules/lttng-modules.url
@@ -0,0 +1 @@ +http://lttng.org/files/lttng-modules/lttng-modules-2.6.2.tar.bz2
diff --git a/production/sw/tps/lttng-modules/lttng-modules.version b/production/sw/tps/lttng-modules/lttng-modules.version new file mode 100644 index 0000000..097a15a --- /dev/null +++ b/production/sw/tps/lttng-modules/lttng-modules.version
@@ -0,0 +1 @@ +2.6.2