X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=bfe2cc5c3324ddf40e7a86c9266e8b1f72fd3f4c;hb=6a4f824d3317497f00cd7065ab9905fbb86ea58f;hp=a137a4385218c91f176c14f1dc83e06b66390119;hpb=90192ee7cea425e30bd065576612156dd6cf5608;p=lttng-tools.git diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index a137a4385..bfe2cc5c3 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -242,7 +242,7 @@ extern int lttng_create_session(const char *name, const char *path); * The session will not be useable anymore, tracing will stopped for all * registered trace and tracing buffers will be flushed. */ -extern int lttng_destroy_session(struct lttng_handle *handle); +extern int lttng_destroy_session(const char *name); /* * List all tracing sessions. @@ -314,12 +314,12 @@ extern int lttng_register_consumer(struct lttng_handle *handle, /* * Start tracing for *all* registered trace (kernel and user-space). */ -extern int lttng_start_tracing(struct lttng_handle *handle); +extern int lttng_start_tracing(const char *session_name); /* * Stop tracing for *all* registered trace (kernel and user-space). */ -extern int lttng_stop_tracing(struct lttng_handle *handle); +extern int lttng_stop_tracing(const char *session_name); /* * Add context to event for a specific channel.