X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-events.h;h=769ec695feaedba7d338e10d50adbf287f2e590d;hb=da356b324dfc160e09b8966b691792037badf455;hp=14c65c00d25c7695c426a095261e162065936718;hpb=e026f97d2e8e4cf3813ca2569e73d04c45ef6ce7;p=lttng-modules.git diff --git a/lttng-events.h b/lttng-events.h index 14c65c00..769ec695 100644 --- a/lttng-events.h +++ b/lttng-events.h @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include #include @@ -314,9 +314,6 @@ struct lttng_event { struct lttng_krp *lttng_krp; char *symbol_name; } kretprobe; - struct { - char *symbol_name; - } ftrace; struct { struct inode *inode; struct list_head head; @@ -522,6 +519,7 @@ struct lttng_session { /* 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 { @@ -861,32 +859,6 @@ int lttng_kretprobes_event_enable_state(struct lttng_event *event, } #endif -#if defined(CONFIG_DYNAMIC_FTRACE) && !defined(LTTNG_FTRACE_MISSING_HEADER) -int lttng_ftrace_register(const char *name, - const char *symbol_name, - struct lttng_event *event); -void lttng_ftrace_unregister(struct lttng_event *event); -void lttng_ftrace_destroy_private(struct lttng_event *event); -#else -static inline -int lttng_ftrace_register(const char *name, - const char *symbol_name, - struct lttng_event *event) -{ - return -ENOSYS; -} - -static inline -void lttng_ftrace_unregister(struct lttng_event *event) -{ -} - -static inline -void lttng_ftrace_destroy_private(struct lttng_event *event) -{ -} -#endif - int lttng_calibrate(struct lttng_kernel_calibrate *calibrate); extern const struct file_operations lttng_tracepoint_list_fops;