X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-events.h;h=93a10fed596ad2e0b4863395a2c83076ea79abf7;hb=cc7bb0aa52cae22255581d67841449bb8ea36fda;hp=f74f9d52cccb81302b18c242712cb2941009a4e1;hpb=3aed4dca825a63757a3c95b9d41019660f83e02d;p=lttng-modules.git diff --git a/lttng-events.h b/lttng-events.h index f74f9d52..93a10fed 100644 --- a/lttng-events.h +++ b/lttng-events.h @@ -521,6 +521,8 @@ 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]; + char creation_time[LTTNG_KERNEL_SESSION_CREATION_TIME_ISO8601_LEN]; }; struct lttng_metadata_cache { @@ -785,6 +787,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 +805,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; }