+
+LTTNG_EXPORT int __testpoint_sessiond_thread_manage_consumer(void);
+int __testpoint_sessiond_thread_manage_consumer(void)
+{
+ const char *var = "LTTNG_SESSIOND_THREAD_MANAGE_CONSUMER_TP_FAIL";
+
+ if (check_env_var(var)) {
+ return 1;
+ }
+
+ return 0;
+}
+
+LTTNG_EXPORT 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";
+
+ if (check_env_var(var)) {
+ return 1;
+ }
+
+ return 0;
+}
+
+LTTNG_EXPORT 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";
+
+ if (check_env_var(var)) {
+ return 1;
+ }
+
+ return 0;
+}
+
+/* Consumer daemon */
+
+LTTNG_EXPORT int __testpoint_consumerd_thread_channel(void);
+int __testpoint_consumerd_thread_channel(void)
+{
+ const char *var = "LTTNG_CONSUMERD_THREAD_CHANNEL_TP_FAIL";
+
+ if (check_env_var(var)) {
+ return 1;
+ }
+
+ return 0;
+}
+
+LTTNG_EXPORT int __testpoint_consumerd_thread_metadata(void);
+int __testpoint_consumerd_thread_metadata(void)
+{
+ const char *var = "LTTNG_CONSUMERD_THREAD_METADATA_TP_FAIL";
+
+ if (check_env_var(var)) {
+ return 1;
+ }
+
+ return 0;
+}
+
+LTTNG_EXPORT int __testpoint_consumerd_thread_data(void);
+int __testpoint_consumerd_thread_data(void)
+{
+ const char *var = "LTTNG_CONSUMERD_THREAD_DATA_TP_FAIL";
+
+ if (check_env_var(var)) {
+ return 1;
+ }
+
+ return 0;
+}
+
+LTTNG_EXPORT int __testpoint_consumerd_thread_sessiond(void);
+int __testpoint_consumerd_thread_sessiond(void)
+{
+ const char *var = "LTTNG_CONSUMERD_THREAD_SESSIOND_TP_FAIL";
+
+ if (check_env_var(var)) {
+ return 1;
+ }
+
+ return 0;
+}
+
+LTTNG_EXPORT int __testpoint_consumerd_thread_metadata_timer(void);
+int __testpoint_consumerd_thread_metadata_timer(void)
+{
+ const char *var = "LTTNG_CONSUMERD_THREAD_METADATA_TIMER_TP_FAIL";
+
+ if (check_env_var(var)) {
+ return 1;
+ }
+
+ return 0;
+}
+
+/* Relay daemon */
+
+LTTNG_EXPORT int __testpoint_relayd_thread_dispatcher(void);
+int __testpoint_relayd_thread_dispatcher(void)
+{
+ const char *var = "LTTNG_RELAYD_THREAD_DISPATCHER_TP_FAIL";
+
+ if (check_env_var(var)) {
+ return 1;
+ }
+
+ return 0;
+}
+
+LTTNG_EXPORT int __testpoint_relayd_thread_worker(void);
+int __testpoint_relayd_thread_worker(void)
+{
+ const char *var = "LTTNG_RELAYD_THREAD_WORKER_TP_FAIL";
+
+ if (check_env_var(var)) {
+ return 1;
+ }
+
+ return 0;
+}
+
+LTTNG_EXPORT int __testpoint_relayd_thread_listener(void);
+int __testpoint_relayd_thread_listener(void)
+{
+ const char *var = "LTTNG_RELAYD_THREAD_LISTENER_TP_FAIL";
+
+ if (check_env_var(var)) {
+ return 1;
+ }
+
+ return 0;
+}
+
+LTTNG_EXPORT int __testpoint_relayd_thread_live_dispatcher(void);
+int __testpoint_relayd_thread_live_dispatcher(void)
+{
+ const char *var = "LTTNG_RELAYD_THREAD_LIVE_DISPATCHER_TP_FAIL";
+
+ if (check_env_var(var)) {
+ return 1;
+ }
+
+ return 0;
+}
+
+LTTNG_EXPORT int __testpoint_relayd_thread_live_worker(void);
+int __testpoint_relayd_thread_live_worker(void)
+{
+ const char *var = "LTTNG_RELAYD_THREAD_LIVE_WORKER_TP_FAIL";
+
+ if (check_env_var(var)) {
+ return 1;
+ }
+
+ return 0;
+}
+
+LTTNG_EXPORT int __testpoint_relayd_thread_live_listener(void);
+int __testpoint_relayd_thread_live_listener(void)
+{
+ const char *var = "LTTNG_RELAYD_THREAD_LIVE_LISTENER_TP_FAIL";
+
+ if (check_env_var(var)) {
+ return 1;
+ }
+
+ return 0;
+}