Fix: lttng-syscalls.c: marking wrong syscall probe as unregistered
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 28 Jan 2020 22:19:20 +0000 (17:19 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 29 Jan 2020 16:16:28 +0000 (11:16 -0500)
commit2d9cd7f33b37382e41eab3cfb509b24af3462887
treec07e93041829d22d8f0396734c38d7469a031356
parentaca13e38b3e150a2b964b79961aff201c3989d25
Fix: lttng-syscalls.c: marking wrong syscall probe as unregistered

When calling `lttng_syscalls_unregister()` we currently mark as
unregistered the wrong syscall probe type.

Concretely, when we unregister "sys_exit" we wrongfully mark that
sys_enter is unregistered and vice versa.

Given than currently entry and exit probes are always enabled together
(except on internal errors), the effect of this bug is not user-visible.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I64acf6a941a3d1fa1bf8be424f834ddb7fb92ace
lttng-syscalls.c
This page took 0.025549 seconds and 4 git commands to generate.