X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer-timer.h;h=084eb017d522e4d94f6fdf4967cb5481eb2627ef;hb=657d1bf105996bf8f6e13af697fb1112afa61b28;hp=1b5dd414c98f7c5bf897ddce4cfad21b17231fbc;hpb=13675d0e093a96a7e7c0aa8c67029fa5e2ed9a68;p=lttng-tools.git diff --git a/src/common/consumer/consumer-timer.h b/src/common/consumer/consumer-timer.h index 1b5dd414c..084eb017d 100644 --- a/src/common/consumer/consumer-timer.h +++ b/src/common/consumer/consumer-timer.h @@ -1,20 +1,10 @@ /* - * Copyright (C) 2011 - Julien Desfossez - * Mathieu Desnoyers - * 2012 - David Goulet + * Copyright (C) 2011 Julien Desfossez + * Copyright (C) 2011 Mathieu Desnoyers + * Copyright (C) 2012 David Goulet * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, version 2 only, - * as published by the Free Software Foundation. + * SPDX-License-Identifier: GPL-2.0-only * - * This program 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 General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef CONSUMER_TIMER_H @@ -24,6 +14,10 @@ #include "consumer.h" +#ifdef __cplusplus +extern "C" { +#endif + #define LTTNG_CONSUMER_SIG_SWITCH SIGRTMIN + 10 #define LTTNG_CONSUMER_SIG_TEARDOWN SIGRTMIN + 11 #define LTTNG_CONSUMER_SIG_LIVE SIGRTMIN + 12 @@ -63,4 +57,8 @@ int consumer_flush_ust_index(struct lttng_consumer_stream *stream); int consumer_timer_thread_get_channel_monitor_pipe(void); int consumer_timer_thread_set_channel_monitor_pipe(int fd); +#ifdef __cplusplus +} +#endif + #endif /* CONSUMER_TIMER_H */