X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-ip.c;h=af4f02acc43b1fb1f389e051d2b54d39659272a9;hb=49926dbd13cfcb46f6947b7e99bc2999c06dc743;hp=3e7885e13c9ea0b830f395622de1b7e6d70c758f;hpb=218deb69baab57ee2f6728eef18e84697f21197b;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-ip.c b/liblttng-ust/lttng-context-ip.c index 3e7885e1..af4f02ac 100644 --- a/liblttng-ust/lttng-context-ip.c +++ b/liblttng-ust/lttng-context-ip.c @@ -1,23 +1,9 @@ /* - * lttng-context-ip.c - * - * LTTng UST Instruction Pointer Context. + * SPDX-License-Identifier: LGPL-2.1-only * * Copyright (C) 2009-2012 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 Instruction Pointer Context. */ #define _LGPL_SOURCE @@ -28,6 +14,8 @@ #include #include +#include "context-internal.h" + static size_t ip_get_size(struct lttng_ctx_field *field, size_t offset) {