projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sessiond: unregister triggers during clean-up on shutdown
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
session.c
diff --git
a/src/bin/lttng-sessiond/session.c
b/src/bin/lttng-sessiond/session.c
index f8134f8ad966a950b0c97f13bbb18f2ba12d89b9..6eda624efad6f784c79cc96f66c5a22c5ceff36b 100644
(file)
--- a/
src/bin/lttng-sessiond/session.c
+++ b/
src/bin/lttng-sessiond/session.c
@@
-574,8
+574,8
@@
struct lttng_trace_chunk *session_create_new_trace_chunk(
const char *base_path;
struct lttng_directory_handle *session_output_directory = NULL;
const struct lttng_credentials session_credentials = {
const char *base_path;
struct lttng_directory_handle *session_output_directory = NULL;
const struct lttng_credentials session_credentials = {
- .uid =
session->uid
,
- .gid =
session->gid
,
+ .uid =
LTTNG_OPTIONAL_INIT_VALUE(session->uid)
,
+ .gid =
LTTNG_OPTIONAL_INIT_VALUE(session->gid)
,
};
uint64_t next_chunk_id;
const struct consumer_output *output;
};
uint64_t next_chunk_id;
const struct consumer_output *output;
@@
-989,6
+989,7
@@
void session_release(struct urcu_ref *ref)
* Broadcast after free-ing to ensure the memory is
* reclaimed before the main thread exits.
*/
* Broadcast after free-ing to ensure the memory is
* reclaimed before the main thread exits.
*/
+ ASSERT_LOCKED(ltt_session_list.lock);
pthread_cond_broadcast(<t_session_list.removal_cond);
}
}
pthread_cond_broadcast(<t_session_list.removal_cond);
}
}
This page took
0.025877 seconds
and
4
git commands to generate.