};
struct lttng_event_desc {
- const char *name;
+ const char *name; /* lttng-modules name */
+ const char *kname; /* Linux kernel name (tracepoints) */
void *probe_callback;
const struct lttng_event_ctx *ctx; /* context */
const struct lttng_event_field *fields; /* event payload */
int (*stream_id) (const struct lib_ring_buffer_config *config,
struct lib_ring_buffer *bufb,
uint64_t *stream_id);
+ int (*current_timestamp) (const struct lib_ring_buffer_config *config,
+ struct lib_ring_buffer *bufb,
+ uint64_t *ts);
};
struct lttng_transport {
}
#endif
+int lttng_logger_init(void);
+void lttng_logger_exit(void);
+
extern int lttng_statedump_start(struct lttng_session *session);
#ifdef CONFIG_KPROBES