X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Flttng.h;h=5654eb79ffc69c9d144cd1cee1fb666d18041e9d;hp=a137a4385218c91f176c14f1dc83e06b66390119;hb=843f5df95fcaa45f89b7df96a0050d44255d702d;hpb=90192ee7cea425e30bd065576612156dd6cf5608 diff --git a/include/lttng/lttng.h b/include/lttng/lttng.h index a137a4385..5654eb79f 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.