syscalls: remove vmalloc sync mappings
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 5 Nov 2021 14:55:26 +0000 (10:55 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 5 Nov 2021 14:55:26 +0000 (10:55 -0400)
The system call tables don't use vmalloc, so there is no point in
synchronizing the mappings.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I91c5d46c85d34ca02643e8732511f25e226b3e80

src/lttng-syscalls.c

index 27f9421ba7334ac190d6d8365422d2801bdc2bc5..de4dbacefc5c23e7331081696585e4a278b82a7c 100644 (file)
@@ -796,8 +796,6 @@ int lttng_event_enabler_create_syscall_events_if_missing(struct lttng_event_enab
        if (ret)
                return ret;
 
-       wrapper_vmalloc_sync_mappings();
-
        if (!syscall_table->sys_enter_registered) {
                ret = lttng_wrapper_tracepoint_probe_register("sys_enter",
                                (void *) syscall_entry_event_probe, syscall_table);
This page took 0.026138 seconds and 4 git commands to generate.