Split struct lttng_session into public/private structures
[lttng-modules.git] / src / lttng-syscalls.c
index 9a0e194169c1973ff7ef6305ea891adeb2efc1a6..6e1d608fae38f26ba3fddb5927c5bbeca5826cad 100644 (file)
@@ -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
This page took 0.022981 seconds and 4 git commands to generate.