X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fhealth-sessiond.h;h=7c9dbd0b3218d6c0f3cbc7c9f24d9060ed106390;hp=18f922728ed63c7e9b55f89d464904318c176c30;hb=ae0a823f9f7e1d3800479488a58efc2f92f27d89;hpb=8782cc7477fae212607b9fd6395a4b2e2d3357ed diff --git a/src/bin/lttng-sessiond/health-sessiond.h b/src/bin/lttng-sessiond/health-sessiond.h index 18f922728..7c9dbd0b3 100644 --- a/src/bin/lttng-sessiond/health-sessiond.h +++ b/src/bin/lttng-sessiond/health-sessiond.h @@ -2,38 +2,34 @@ #define HEALTH_SESSIOND_H /* - * Copyright (C) 2012 - David Goulet + * 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. */ -#include "health.h" +#include +#include -enum health_type { - HEALTH_TYPE_CMD = 0, - HEALTH_TYPE_APP_MANAGE = 1, - HEALTH_TYPE_APP_REG = 2, - HEALTH_TYPE_KERNEL = 3, - HEALTH_TYPE_CONSUMER = 4, - HEALTH_TYPE_HT_CLEANUP = 5, - HEALTH_TYPE_APP_MANAGE_NOTIFY = 6, - HEALTH_TYPE_APP_REG_DISPATCH = 7, +enum health_type_sessiond { + HEALTH_SESSIOND_TYPE_CMD = 0, + HEALTH_SESSIOND_TYPE_APP_MANAGE = 1, + HEALTH_SESSIOND_TYPE_APP_REG = 2, + HEALTH_SESSIOND_TYPE_KERNEL = 3, + HEALTH_SESSIOND_TYPE_CONSUMER = 4, + HEALTH_SESSIOND_TYPE_HT_CLEANUP = 5, + HEALTH_SESSIOND_TYPE_APP_MANAGE_NOTIFY = 6, + HEALTH_SESSIOND_TYPE_APP_REG_DISPATCH = 7, + HEALTH_SESSIOND_TYPE_NOTIFICATION = 8, + HEALTH_SESSIOND_TYPE_ROTATION = 9, + HEALTH_SESSIOND_TYPE_TIMER = 10, - HEALTH_NUM_TYPE, + NR_HEALTH_SESSIOND_TYPES, }; /* Application health monitoring */ extern struct health_app *health_sessiond; +bool launch_health_management_thread(void); + #endif /* HEALTH_SESSIOND_H */