projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: x86 mmutrace event extra field for kernels >= 3.11
[lttng-modules.git]
/
lttng-events.c
diff --git
a/lttng-events.c
b/lttng-events.c
index 135c8c527123acd43266c7191148d9bc314121a8..2820a0e4d1f9045017dd772d08b7f9325be85cc9 100644
(file)
--- a/
lttng-events.c
+++ b/
lttng-events.c
@@
-20,6
+20,12
@@
* 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/list.h>
#include <linux/mutex.h>
#include <linux/module.h>
#include <linux/list.h>
#include <linux/mutex.h>
@@
-1271,7
+1277,9
@@
static int __init lttng_events_init(void)
ret = wrapper_lttng_fixup_sig(THIS_MODULE);
if (ret)
return ret;
ret = wrapper_lttng_fixup_sig(THIS_MODULE);
if (ret)
return ret;
-
+ ret = wrapper_get_pfnblock_flags_mask_init();
+ if (ret)
+ return ret;
ret = lttng_tracepoint_init();
if (ret)
return ret;
ret = lttng_tracepoint_init();
if (ret)
return ret;
This page took
0.02404 seconds
and
4
git commands to generate.