Add metadata env fields
[lttng-modules.git] / lttng-events.h
index f74f9d52cccb81302b18c242712cb2941009a4e1..14c65c00d25c7695c426a095261e162065936718 100644 (file)
@@ -521,6 +521,7 @@ struct lttng_session {
        struct list_head enablers_head;
        /* Hash table of events */
        struct lttng_event_ht events_ht;
+       char name[LTTNG_KERNEL_SESSION_NAME_LEN];
 };
 
 struct lttng_metadata_cache {
@@ -785,6 +786,7 @@ void lttng_kprobes_destroy_private(struct lttng_event *event)
 
 int lttng_event_add_callsite(struct lttng_event *event,
        struct lttng_kernel_event_callsite *callsite);
+
 #ifdef CONFIG_UPROBES
 int lttng_uprobes_register(const char *name,
        int fd, struct lttng_event *event);
@@ -802,7 +804,7 @@ int lttng_uprobes_register(const char *name,
 
 static inline
 int lttng_uprobes_add_callsite(struct lttng_event *event,
-       struct lttng_kernel_callsite_uprobe *callsite)
+       struct lttng_kernel_event_callsite *callsite)
 {
        return -ENOSYS;
 }
This page took 0.038071 seconds and 4 git commands to generate.