projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: Add token field to `struct lttng_kernel_event`
[lttng-tools.git]
/
src
/
common
/
fd-tracker
/
utils.c
diff --git
a/src/common/fd-tracker/utils.c
b/src/common/fd-tracker/utils.c
index fe2cdcc4ed4f84f1c629e27c630964d25d10f377..85d28b29468208ef34f595bd18bcd769ebaac0a9 100644
(file)
--- a/
src/common/fd-tracker/utils.c
+++ b/
src/common/fd-tracker/utils.c
@@
-101,7
+101,7
@@
int open_directory_handle(void *_args, int *out_fds)
if (!lttng_directory_handle_uses_fd(new_handle)) {
ret = ENOTSUP;
} else {
if (!lttng_directory_handle_uses_fd(new_handle)) {
ret = ENOTSUP;
} else {
-#ifdef
COMPAT
_DIRFD
+#ifdef
HAVE
_DIRFD
*out_fds = new_handle->dirfd;
#else
abort();
*out_fds = new_handle->dirfd;
#else
abort();
@@
-112,7
+112,7
@@
end:
return ret;
}
return ret;
}
-#ifdef
COMPAT
_DIRFD
+#ifdef
HAVE
_DIRFD
static
int fd_close(void *unused, int *in_fds)
{
static
int fd_close(void *unused, int *in_fds)
{
@@
-182,7
+182,7
@@
struct lttng_directory_handle *fd_tracker_create_directory_handle_from_handle(
}
new_handle = open_args.ret_handle;
}
new_handle = open_args.ret_handle;
-#ifdef
COMPAT
_DIRFD
+#ifdef
HAVE
_DIRFD
new_handle->destroy_cb = directory_handle_destroy;
new_handle->destroy_cb_data = tracker;
#endif
new_handle->destroy_cb = directory_handle_destroy;
new_handle->destroy_cb_data = tracker;
#endif
This page took
0.024496 seconds
and
4
git commands to generate.