struct lttng_event {
char name[LTTNG_SYMBOL_NAME_LEN];
char loglevel[LTTNG_SYMBOL_NAME_LEN];
+ int64_t loglevel_value;
enum lttng_event_type type;
uint32_t enabled;
pid_t pid;
* 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.