projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
relayd: track directory handles through the fd-tracker
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
session.c
diff --git
a/src/bin/lttng-relayd/session.c
b/src/bin/lttng-relayd/session.c
index 3dcb1cd3367183f854c8b63b1daefd5a2360831f..daae9a55ba1d5308427a101f16e2416e9f4d46bb 100644
(file)
--- a/
src/bin/lttng-relayd/session.c
+++ b/
src/bin/lttng-relayd/session.c
@@
-9,11
+9,11
@@
#define _LGPL_SOURCE
#include <common/common.h>
#define _LGPL_SOURCE
#include <common/common.h>
-#include <common/uuid.h>
+#include <common/compat/path.h>
+#include <common/fd-tracker/utils.h>
#include <common/time.h>
#include <common/utils.h>
#include <common/uuid.h>
#include <common/time.h>
#include <common/utils.h>
#include <common/uuid.h>
-#include <common/compat/path.h>
#include <urcu/rculist.h>
#include <sys/stat.h>
#include <urcu/rculist.h>
#include <sys/stat.h>
@@
-196,7
+196,7
@@
static struct lttng_directory_handle *session_create_output_directory_handle(
goto end;
}
goto end;
}
- handle =
lttng_directory_handle_create(
full_session_path);
+ handle =
fd_tracker_create_directory_handle(the_fd_tracker,
full_session_path);
end:
pthread_mutex_unlock(&session->lock);
free(full_session_path);
end:
pthread_mutex_unlock(&session->lock);
free(full_session_path);
This page took
0.025183 seconds
and
4
git commands to generate.