Add declarations for exported functions in health_fail.c
[lttng-tools.git] / tests / regression / tools / health / health_fail.c
index 3f83a7c732204b37b2d35a6917083427442bf193..ca2bc34856743ce3c85ace22a4ce6c359b7571bf 100644 (file)
@@ -1,19 +1,9 @@
 /*
- * Copyright (C) 2012 Christian Babeux <christian.babeux@efficios.com>
- * Copyright (C) 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ * Copyright (C) 2012 Christian Babeux <christian.babeux@efficios.com>
+ * Copyright (C) 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  *
- * 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 <stdlib.h>
@@ -40,6 +30,7 @@ int check_env_var(const char *env)
 
 /* Session daemon */
 
+int __testpoint_sessiond_thread_manage_clients(void);
 int __testpoint_sessiond_thread_manage_clients(void)
 {
        const char *var = "LTTNG_SESSIOND_THREAD_MANAGE_CLIENTS_TP_FAIL";
@@ -51,6 +42,7 @@ int __testpoint_sessiond_thread_manage_clients(void)
        return 0;
 }
 
+int __testpoint_sessiond_thread_registration_apps(void);
 int __testpoint_sessiond_thread_registration_apps(void)
 {
        const char *var = "LTTNG_SESSIOND_THREAD_REG_APPS_TP_FAIL";
@@ -62,6 +54,7 @@ int __testpoint_sessiond_thread_registration_apps(void)
        return 0;
 }
 
+int __testpoint_sessiond_thread_manage_apps(void);
 int __testpoint_sessiond_thread_manage_apps(void)
 {
        const char *var = "LTTNG_SESSIOND_THREAD_MANAGE_APPS_TP_FAIL";
@@ -73,6 +66,7 @@ int __testpoint_sessiond_thread_manage_apps(void)
        return 0;
 }
 
+int __testpoint_sessiond_thread_manage_kernel(void);
 int __testpoint_sessiond_thread_manage_kernel(void)
 {
        const char *var = "LTTNG_SESSIOND_THREAD_MANAGE_KERNEL_TP_FAIL";
@@ -84,6 +78,7 @@ int __testpoint_sessiond_thread_manage_kernel(void)
        return 0;
 }
 
+int __testpoint_sessiond_thread_manage_consumer(void);
 int __testpoint_sessiond_thread_manage_consumer(void)
 {
        const char *var = "LTTNG_SESSIOND_THREAD_MANAGE_CONSUMER_TP_FAIL";
@@ -95,6 +90,7 @@ int __testpoint_sessiond_thread_manage_consumer(void)
        return 0;
 }
 
+int __testpoint_sessiond_thread_ht_cleanup(void);
 int __testpoint_sessiond_thread_ht_cleanup(void)
 {
        const char *var = "LTTNG_SESSIOND_THREAD_HT_CLEANUP_TP_FAIL";
@@ -106,6 +102,7 @@ int __testpoint_sessiond_thread_ht_cleanup(void)
        return 0;
 }
 
+int __testpoint_sessiond_thread_app_manage_notify(void);
 int __testpoint_sessiond_thread_app_manage_notify(void)
 {
        const char *var = "LTTNG_SESSIOND_THREAD_APP_MANAGE_NOTIFY_TP_FAIL";
@@ -117,6 +114,7 @@ int __testpoint_sessiond_thread_app_manage_notify(void)
        return 0;
 }
 
+int __testpoint_sessiond_thread_app_reg_dispatch(void);
 int __testpoint_sessiond_thread_app_reg_dispatch(void)
 {
        const char *var = "LTTNG_SESSIOND_THREAD_APP_REG_DISPATCH_TP_FAIL";
@@ -130,6 +128,7 @@ int __testpoint_sessiond_thread_app_reg_dispatch(void)
 
 /* Consumer daemon */
 
+int __testpoint_consumerd_thread_channel(void);
 int __testpoint_consumerd_thread_channel(void)
 {
        const char *var = "LTTNG_CONSUMERD_THREAD_CHANNEL_TP_FAIL";
@@ -141,6 +140,7 @@ int __testpoint_consumerd_thread_channel(void)
        return 0;
 }
 
+int __testpoint_consumerd_thread_metadata(void);
 int __testpoint_consumerd_thread_metadata(void)
 {
        const char *var = "LTTNG_CONSUMERD_THREAD_METADATA_TP_FAIL";
@@ -152,6 +152,7 @@ int __testpoint_consumerd_thread_metadata(void)
        return 0;
 }
 
+int __testpoint_consumerd_thread_data(void);
 int __testpoint_consumerd_thread_data(void)
 {
        const char *var = "LTTNG_CONSUMERD_THREAD_DATA_TP_FAIL";
@@ -163,6 +164,7 @@ int __testpoint_consumerd_thread_data(void)
        return 0;
 }
 
+int __testpoint_consumerd_thread_sessiond(void);
 int __testpoint_consumerd_thread_sessiond(void)
 {
        const char *var = "LTTNG_CONSUMERD_THREAD_SESSIOND_TP_FAIL";
@@ -174,6 +176,7 @@ int __testpoint_consumerd_thread_sessiond(void)
        return 0;
 }
 
+int __testpoint_consumerd_thread_metadata_timer(void);
 int __testpoint_consumerd_thread_metadata_timer(void)
 {
        const char *var = "LTTNG_CONSUMERD_THREAD_METADATA_TIMER_TP_FAIL";
@@ -187,6 +190,7 @@ int __testpoint_consumerd_thread_metadata_timer(void)
 
 /* Relay daemon */
 
+int __testpoint_relayd_thread_dispatcher(void);
 int __testpoint_relayd_thread_dispatcher(void)
 {
        const char *var = "LTTNG_RELAYD_THREAD_DISPATCHER_TP_FAIL";
@@ -198,6 +202,7 @@ int __testpoint_relayd_thread_dispatcher(void)
        return 0;
 }
 
+int __testpoint_relayd_thread_worker(void);
 int __testpoint_relayd_thread_worker(void)
 {
        const char *var = "LTTNG_RELAYD_THREAD_WORKER_TP_FAIL";
@@ -209,6 +214,7 @@ int __testpoint_relayd_thread_worker(void)
        return 0;
 }
 
+int __testpoint_relayd_thread_listener(void);
 int __testpoint_relayd_thread_listener(void)
 {
        const char *var = "LTTNG_RELAYD_THREAD_LISTENER_TP_FAIL";
@@ -220,6 +226,7 @@ int __testpoint_relayd_thread_listener(void)
        return 0;
 }
 
+int __testpoint_relayd_thread_live_dispatcher(void);
 int __testpoint_relayd_thread_live_dispatcher(void)
 {
        const char *var = "LTTNG_RELAYD_THREAD_LIVE_DISPATCHER_TP_FAIL";
@@ -231,6 +238,7 @@ int __testpoint_relayd_thread_live_dispatcher(void)
        return 0;
 }
 
+int __testpoint_relayd_thread_live_worker(void);
 int __testpoint_relayd_thread_live_worker(void)
 {
        const char *var = "LTTNG_RELAYD_THREAD_LIVE_WORKER_TP_FAIL";
@@ -242,6 +250,7 @@ int __testpoint_relayd_thread_live_worker(void)
        return 0;
 }
 
+int __testpoint_relayd_thread_live_listener(void);
 int __testpoint_relayd_thread_live_listener(void)
 {
        const char *var = "LTTNG_RELAYD_THREAD_LIVE_LISTENER_TP_FAIL";
This page took 0.026553 seconds and 5 git commands to generate.