X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-events.h;h=e1de1af8974da959230ab8f1920d92f290f2a23b;hb=d561ecfbc9a17ca47721cd6d7742d2b1835f8ae3;hp=6b39304f8d114e92387308cac22d74c72e0f5a98;hpb=a26a7e4f2376619bb63519d089caeaf59af4a6b2;p=lttng-modules.git diff --git a/lttng-events.h b/lttng-events.h index 6b39304f..e1de1af8 100644 --- a/lttng-events.h +++ b/lttng-events.h @@ -236,6 +236,10 @@ struct lttng_channel_ops { const void *src, size_t len); void (*event_memset)(struct lib_ring_buffer_ctx *ctx, int c, size_t len); + void (*event_strcpy)(struct lib_ring_buffer_ctx *ctx, const char *src, + size_t len); + void (*event_strcpy_from_user)(struct lib_ring_buffer_ctx *ctx, + const char __user *src, size_t len); /* * packet_avail_size returns the available size in the current * packet. Note that the size returned is only a hint, since it @@ -429,6 +433,9 @@ int lttng_add_perf_counter_to_ctx(uint32_t type, } #endif +int lttng_logger_init(void); +void lttng_logger_exit(void); + extern int lttng_statedump_start(struct lttng_session *session); #ifdef CONFIG_KPROBES