X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fhandle.h;h=c5958b4023e3b361a0496122a35e249435942b3f;hp=a313e79632fd9457f48c494cbef2ba4b2b5e1486;hb=95681498599cbd3bc1aa6dfa725a668ab272170b;hpb=272ba89a5ee1a45f1fcdd7b46139cd0cefd2150d diff --git a/include/lttng/handle.h b/include/lttng/handle.h index a313e7963..c5958b402 100644 --- a/include/lttng/handle.h +++ b/include/lttng/handle.h @@ -43,7 +43,11 @@ struct lttng_handle { * This handle contains the session name and domain on which the command will * be executed. A domain is basically a tracer like the kernel or user space. * - * Return an newly allocated handle that should be freed using + * A NULL domain indicates that the handle is not bound to a specific domain. + * This is mostly used for actions that apply on a session and not on a domain + * (e.g lttng_set_consumer_url). + * + * Return a newly allocated handle that should be freed using * lttng_destroy_handle. On error, NULL is returned. */ extern struct lttng_handle *lttng_create_handle(const char *session_name,