X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Flttng-syscalls.c;h=6e1d608fae38f26ba3fddb5927c5bbeca5826cad;hb=6e662c2871e93ac708065ac028047e527c16b100;hp=dfb00cbb7043d58ac780abb8cfc4662405d02aba;hpb=e2d5dbc7d09c7aa4f7c391fcdd4dfc95ba1ed326;p=lttng-modules.git diff --git a/src/lttng-syscalls.c b/src/lttng-syscalls.c index dfb00cbb..6e1d608f 100644 --- a/src/lttng-syscalls.c +++ b/src/lttng-syscalls.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #ifndef CONFIG_COMPAT @@ -864,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 */ @@ -887,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