X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=probes%2Flttng-kprobes.c;h=a2474d0d6e9da08c2a8518bf3f86eeaf1dd0be9b;hb=4f47ccf08dfac3d5db7553eb8b40bdab19764727;hp=40fe0f68d54e41e8d032ece226ef117cbf06a416;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/probes/lttng-kprobes.c b/probes/lttng-kprobes.c index 40fe0f68..a2474d0d 100644 --- a/probes/lttng-kprobes.c +++ b/probes/lttng-kprobes.c @@ -10,11 +10,11 @@ #include #include #include -#include -#include +#include +#include #include #include -#include +#include #include static @@ -132,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)