projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: adjust SLE version ranges to build with SP2 and SP3
[lttng-modules.git]
/
probes
/
lttng-probe-kmem.c
diff --git
a/probes/lttng-probe-kmem.c
b/probes/lttng-probe-kmem.c
index 441df75fe034cd768ae1efff0dcfb29ebadb21f5..ae3dc8b437eec693df1bdff96a1233eeb4cfca5c 100644
(file)
--- a/
probes/lttng-probe-kmem.c
+++ b/
probes/lttng-probe-kmem.c
@@
-21,7
+21,14
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+/*
+ * This page_alloc.h wrapper needs to be included before gfpflags.h because it
+ * overrides a function with a define.
+ */
+#include <wrapper/page_alloc.h>
#include <linux/module.h>
#include <linux/module.h>
+#include <linux/mm.h>
+#include <lttng-tracer.h>
/*
* Create the tracepoint static inlines from the kernel to validate that our
/*
* Create the tracepoint static inlines from the kernel to validate that our
@@
-29,17
+36,21
@@
*/
#include <trace/events/kmem.h>
*/
#include <trace/events/kmem.h>
-#include
"../wrapper/tracepoint.h"
+#include
<wrapper/tracepoint.h>
/*
* Create LTTng tracepoint probes.
*/
#define LTTNG_PACKAGE_BUILD
#define CREATE_TRACE_POINTS
/*
* Create LTTng tracepoint probes.
*/
#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/kmem.h"
+#include
<instrumentation/events/lttng-module/kmem.h>
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Wade Farnsworth <wade_farnsworth@mentor.com> and Andrew Gabbasov <andrew_gabbasov@mentor.com>");
MODULE_DESCRIPTION("LTTng kmem probes");
MODULE_LICENSE("GPL and additional rights");
MODULE_AUTHOR("Wade Farnsworth <wade_farnsworth@mentor.com> and Andrew Gabbasov <andrew_gabbasov@mentor.com>");
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);
This page took
0.023518 seconds
and
4
git commands to generate.