X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lttng-context-need-reschedule.c;h=f29fb28da7abf635ba3349c7b7dd29e27e348edd;hb=refs%2Fheads%2Fns-phase-1;hp=b0ea6d1ca369578e8ba8ab644379c73f36e5fbd3;hpb=39e088f37e7cb43f35af05b81bf1e23542623802;p=deliverable%2Flttng-modules.git diff --git a/lttng-context-need-reschedule.c b/lttng-context-need-reschedule.c index b0ea6d1c..f29fb28d 100644 --- a/lttng-context-need-reschedule.c +++ b/lttng-context-need-reschedule.c @@ -1,33 +1,20 @@ -/* +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) + * * lttng-context-need-reschedule.c * * LTTng need_reschedule context. * * Copyright (C) 2009-2015 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 -#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 need_reschedule_get_size(size_t offset)