X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-pthread-id.c;h=2502f75fd03b93c7bf63b1b2fab08281dcbf9bf4;hb=68bb7559b0041c38158c9ed0528d91d655e7eb6c;hp=49a72ee15955934943ac30799c50cc734d9477f9;hpb=218deb69baab57ee2f6728eef18e84697f21197b;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-pthread-id.c b/liblttng-ust/lttng-context-pthread-id.c index 49a72ee1..2502f75f 100644 --- a/liblttng-ust/lttng-context-pthread-id.c +++ b/liblttng-ust/lttng-context-pthread-id.c @@ -1,23 +1,9 @@ /* - * lttng-context-pthread-id.c - * - * LTTng UST pthread_id context. + * SPDX-License-Identifier: LGPL-2.1-only * * Copyright (C) 2009-2011 Mathieu Desnoyers * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; only - * version 2.1 of the License. - * - * 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 + * LTTng UST pthread_id context. */ #define _LGPL_SOURCE @@ -27,6 +13,8 @@ #include #include +#include "context-internal.h" + static size_t pthread_id_get_size(struct lttng_ctx_field *field, size_t offset) {