X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=bfe2cc5c3324ddf40e7a86c9266e8b1f72fd3f4c;hp=5654eb79ffc69c9d144cd1cee1fb666d18041e9d;hb=6a4f824d3317497f00cd7065ab9905fbb86ea58f;hpb=843f5df95fcaa45f89b7df96a0050d44255d702d diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index 5654eb79f..bfe2cc5c3 100644 --- a/include/lttng/lttng.h +++ b/include/lttng/lttng.h @@ -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.