X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2Flttng-kprobes.c;h=a44eaa11d7a1d0a4ffcdabd5880d69622c126994;hb=e1c79262a22edcd7e981a8523d22f8170f1f149b;hp=131333b03698941bb7f156e7294c1aa16e28d1de;hpb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;p=lttng-modules.git diff --git a/probes/lttng-kprobes.c b/probes/lttng-kprobes.c index 131333b0..a44eaa11 100644 --- a/probes/lttng-kprobes.c +++ b/probes/lttng-kprobes.c @@ -15,6 +15,7 @@ #include #include #include +#include static int lttng_kprobes_handler_pre(struct kprobe *p, struct pt_regs *regs) @@ -131,7 +132,7 @@ int lttng_kprobes_register(const char *name, * Well.. kprobes itself puts the page fault handler on the blacklist, * but we can never be too careful. */ - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); ret = register_kprobe(&event->u.kprobe.kp); if (ret)