X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=lttng-syscalls.c;h=a5b5f403fe359e6531650111fc05cb82a6c60aba;hb=cd4486798c2b046ea93b89439cd705e93c40b349;hp=a4ec3d5cf7313114f2ac3adfd1ee772c2713b10e;hpb=c8dfb72431505d5f01a6f090f3f7427d9ca6fe94;p=lttng-modules.git diff --git a/lttng-syscalls.c b/lttng-syscalls.c index a4ec3d5c..a5b5f403 100644 --- a/lttng-syscalls.c +++ b/lttng-syscalls.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) * * lttng-syscalls.c * @@ -22,12 +22,12 @@ #include #include -#include +#include #include #include #include #include -#include +#include #ifndef CONFIG_COMPAT # ifndef is_compat_task @@ -761,7 +761,7 @@ int lttng_syscalls_register(struct lttng_channel *chan, void *filter) struct lttng_kernel_event ev; int ret; - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); if (!chan->sc_table) { /* create syscall table mapping syscall to events */