Fix: add unknown event to dispatch list
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 5 Nov 2021 16:33:37 +0000 (12:33 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 5 Nov 2021 16:33:37 +0000 (12:33 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I4dcef64b8b4ce4b13ee12cc33426a2734504db4e

src/lttng-syscalls.c

index bc8e6e715ff3de73b9348984fc40a89afcdb75ee..2a9125a257595eed4dfab2a27388cc52d5724300 100644 (file)
@@ -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:
This page took 0.028174 seconds and 4 git commands to generate.