X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fhandle.h;h=10ec82c62f604c6d7bef5a2fdc3fa9502b5e8589;hp=a313e79632fd9457f48c494cbef2ba4b2b5e1486;hb=cfa1e2c2761271e12a16f979f6db6376f4fff7ff;hpb=36d2e35df61339e4394e84ad9790b984d259e0f0 diff --git a/include/lttng/handle.h b/include/lttng/handle.h index a313e7963..10ec82c62 100644 --- a/include/lttng/handle.h +++ b/include/lttng/handle.h @@ -1,18 +1,8 @@ /* - * Copyright (C) 2014 - David Goulet + * Copyright (C) 2014 David Goulet * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License, version 2.1 only, - * as published by the Free Software Foundation. + * SPDX-License-Identifier: LGPL-2.1-only * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this library; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef LTTNG_HANDLE_H @@ -43,7 +33,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,