X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-cpuhotplug.h;h=4e25b39ff74a9173edd85458310509e95575fa22;hb=b7cdc18250880cc44edeef4a4b42c8ac7a135a6d;hp=da965d2f7ccc26041e842b508220deb233bb2dc0;hpb=1e36732678d7cc650940b4508031acf2f6ffcd1b;p=lttng-modules.git diff --git a/lttng-cpuhotplug.h b/lttng-cpuhotplug.h index da965d2f..4e25b39f 100644 --- a/lttng-cpuhotplug.h +++ b/lttng-cpuhotplug.h @@ -1,31 +1,19 @@ -#ifndef LTTNG_CPUHOTPLUG_H -#define LTTNG_CPUHOTPLUG_H - -/* +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) + * * lttng-cpuhotplug.h * * Copyright (C) 2016 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 +#ifndef LTTNG_CPUHOTPLUG_H +#define LTTNG_CPUHOTPLUG_H struct lttng_cpuhp_node; #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0)) + +#include + enum lttng_cpuhp_component { LTTNG_RING_BUFFER_FRONTEND, LTTNG_RING_BUFFER_BACKEND,