Add declarations for exported functions in health_exit.c
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 25 Nov 2019 21:21:52 +0000 (16:21 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 10 Mar 2020 01:55:53 +0000 (21:55 -0400)
Silences a bunch of -Wmissing-declarations warnings.

Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Change-Id: Ib8ca00c2f9eaeec1821a15c3978d988e58804367
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/health/health_stall.c

index 4439b736957cc9e46ea47e14ea8742903f3e5d0c..1c0d6dc77353cf7a0a8b80b970a5c66d1a5e906a 100644 (file)
@@ -43,6 +43,7 @@ void do_stall(void)
 
 /* Session daemon */
 
+int __testpoint_sessiond_thread_manage_clients(void);
 int __testpoint_sessiond_thread_manage_clients(void)
 {
        const char *var = "LTTNG_SESSIOND_THREAD_MANAGE_CLIENTS_STALL";
@@ -54,6 +55,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_STALL";
@@ -65,6 +67,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_STALL";
@@ -76,6 +79,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_STALL";
@@ -87,6 +91,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_STALL";
@@ -98,6 +103,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_STALL";
@@ -109,6 +115,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_STALL";
@@ -120,6 +127,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_STALL";
@@ -133,6 +141,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_STALL";
@@ -144,6 +153,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_STALL";
@@ -155,6 +165,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_STALL";
@@ -166,6 +177,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_STALL";
@@ -177,6 +189,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_STALL";
@@ -190,6 +203,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_STALL";
@@ -201,6 +215,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_STALL";
@@ -212,6 +227,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_STALL";
@@ -223,6 +239,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_STALL";
@@ -234,6 +251,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_STALL";
@@ -245,6 +263,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_STALL";
This page took 0.035866 seconds and 4 git commands to generate.