projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Make test_per_application_leaks more robust
[lttng-tools.git]
/
tests
/
regression
/
tools
/
health
/
health_fail.c
diff --git
a/tests/regression/tools/health/health_fail.c
b/tests/regression/tools/health/health_fail.c
index 6a4c8f08ac08538fcdd99b4b701b80752bd80d2f..2994694fda1be8d2c818fc3c653ef617eebb0170 100644
(file)
--- a/
tests/regression/tools/health/health_fail.c
+++ b/
tests/regression/tools/health/health_fail.c
@@
-7,17
+7,17
@@
*/
#include <lttng/lttng-export.h>
*/
#include <lttng/lttng-export.h>
+
+#include <pthread.h>
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
-#include <pthread.h>
#include <urcu.h>
/*
* Check if the specified environment variable is set.
* Return 1 if set, otherwise 0.
*/
#include <urcu.h>
/*
* Check if the specified environment variable is set.
* Return 1 if set, otherwise 0.
*/
-static
-int check_env_var(const char *env)
+static int check_env_var(const char *env)
{
if (env) {
char *env_val = getenv(env);
{
if (env) {
char *env_val = getenv(env);
@@
-91,18
+91,6
@@
int __testpoint_sessiond_thread_manage_consumer(void)
return 0;
}
return 0;
}
-LTTNG_EXPORT int __testpoint_sessiond_thread_ht_cleanup(void);
-int __testpoint_sessiond_thread_ht_cleanup(void)
-{
- const char *var = "LTTNG_SESSIOND_THREAD_HT_CLEANUP_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)
{
LTTNG_EXPORT int __testpoint_sessiond_thread_app_manage_notify(void);
int __testpoint_sessiond_thread_app_manage_notify(void)
{
This page took
0.024777 seconds
and
4
git commands to generate.