From: Mathieu Desnoyers Date: Fri, 5 Nov 2021 16:33:37 +0000 (-0400) Subject: Fix: add unknown event to dispatch list X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ac07db609af1b9889ec7a3ef0b9ecb5bb8dcb9f5;p=lttng-modules.git Fix: add unknown event to dispatch list Signed-off-by: Mathieu Desnoyers Change-Id: I4dcef64b8b4ce4b13ee12cc33426a2734504db4e --- diff --git a/src/lttng-syscalls.c b/src/lttng-syscalls.c index bc8e6e71..2a9125a2 100644 --- a/src/lttng-syscalls.c +++ b/src/lttng-syscalls.c @@ -627,6 +627,8 @@ void lttng_syscall_event_enabler_create_event(struct lttng_event_enabler_common return; } event->priv->u.syscall.syscall_id = syscall_nr; + if (dispatch_table) + hlist_add_head_rcu(&event->priv->u.syscall.node, dispatch_table); break; } default: