X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Frotation-thread.h;h=27ef3954e5051520fdba794f900217626effab48;hp=c4516095622e3b9e35c76765db0f209e4d7a9c6f;hb=a2814ea7573bf5edd5323d6f89c48ff14105db69;hpb=c8a9de5a85fb150d3ceaa5ca1a8b1b2b91d050d5 diff --git a/src/bin/lttng-sessiond/rotation-thread.h b/src/bin/lttng-sessiond/rotation-thread.h index c45160956..27ef3954e 100644 --- a/src/bin/lttng-sessiond/rotation-thread.h +++ b/src/bin/lttng-sessiond/rotation-thread.h @@ -1,19 +1,9 @@ /* - * Copyright (C) 2017 - Julien Desfossez - * Copyright (C) 2018 - Jérémie Galarneau + * Copyright (C) 2017 Julien Desfossez + * Copyright (C) 2018 Jérémie Galarneau * - * 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 ROTATION_THREAD_H @@ -56,6 +46,6 @@ void rotation_thread_enqueue_job(struct rotation_thread_timer_queue *queue, enum rotation_thread_job_type job_type, struct ltt_session *session); -void *thread_rotation(void *data); +bool launch_rotation_thread(struct rotation_thread_handle *handle); #endif /* ROTATION_THREAD_H */