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:45 +0000 (11:16 -0500)
commit6ad0e68b43c3e52fcb3d47c4d823a7b84aeb443a
tree8ebfce99338f404f1df91e0a3fc43805b6aa7870
parenta6dab86ba0e885e4fa9c0a6cbe3d55d617f3636a
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.027222 seconds and 4 git commands to generate.