X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-cpuhotplug.h;h=f261d0452a41d4cb7c1abeee2e38d1a5db355d94;hb=1aca53e11bbd4a28fb88f8466744abf66447c92f;hp=da965d2f7ccc26041e842b508220deb233bb2dc0;hpb=1e36732678d7cc650940b4508031acf2f6ffcd1b;p=lttng-modules.git diff --git a/lttng-cpuhotplug.h b/lttng-cpuhotplug.h index da965d2f..f261d045 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 or LGPL-2.1) + * * 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,