X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-syscalls.c;h=6e1d608fae38f26ba3fddb5927c5bbeca5826cad;hb=8cdc1a8180681ebd144f8c0009e76cdc7331b36a;hp=9a0e194169c1973ff7ef6305ea891adeb2efc1a6;hpb=6f156b09165d1fb4b5680395904b5ac8252ab6a7;p=lttng-modules.git diff --git a/src/lttng-syscalls.c b/src/lttng-syscalls.c index 9a0e1941..6e1d608f 100644 --- a/src/lttng-syscalls.c +++ b/src/lttng-syscalls.c @@ -865,7 +865,7 @@ int lttng_create_syscall_event_if_missing(const struct trace_syscall_entry *tabl enum sc_type type) { struct lttng_channel *chan = event_enabler->chan; - struct lttng_session *session = chan->session; + struct lttng_kernel_session *session = chan->session; unsigned int i; /* Allocate events for each syscall matching enabler, insert into table */ @@ -888,7 +888,7 @@ int lttng_create_syscall_event_if_missing(const struct trace_syscall_entry *tabl * Check if already created. */ head = utils_borrow_hash_table_bucket( - session->events_ht.table, LTTNG_EVENT_HT_SIZE, + session->priv->events_ht.table, LTTNG_EVENT_HT_SIZE, desc->event_name); lttng_hlist_for_each_entry(event_recorder_priv, head, hlist) { if (event_recorder_priv->parent.desc == desc