X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-nice.c;h=563e8058677aa9d96e83f35c5a673cb65e22a5dc;hb=9143c6d5444e809b9d411c07a8dae94c151668ae;hp=2ad3841db12b0e62e5d81f347ea41ebba8a6132f;hpb=39e088f37e7cb43f35af05b81bf1e23542623802;p=lttng-modules.git diff --git a/lttng-context-nice.c b/lttng-context-nice.c index 2ad3841d..563e8058 100644 --- a/lttng-context-nice.c +++ b/lttng-context-nice.c @@ -1,32 +1,19 @@ -/* +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) + * * lttng-context-nice.c * * LTTng nice context. * * 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 */ #include #include #include -#include "lttng-events.h" -#include "wrapper/ringbuffer/frontend_types.h" -#include "wrapper/vmalloc.h" -#include "lttng-tracer.h" +#include +#include +#include +#include static size_t nice_get_size(size_t offset)