projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
action-executor: consider action firing policy on action execution
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
rotation-thread.c
diff --git
a/src/bin/lttng-sessiond/rotation-thread.c
b/src/bin/lttng-sessiond/rotation-thread.c
index c8cf93e592b3e75f714d4c0056508149d5b6a290..31e65113654c72258592f0d10bc64fc8f0364f90 100644
(file)
--- a/
src/bin/lttng-sessiond/rotation-thread.c
+++ b/
src/bin/lttng-sessiond/rotation-thread.c
@@
-494,8
+494,6
@@
int check_session_rotation_pending(struct ltt_session *session,
ret = 0;
check_ongoing_rotation:
if (session->rotation_state == LTTNG_ROTATION_STATE_ONGOING) {
ret = 0;
check_ongoing_rotation:
if (session->rotation_state == LTTNG_ROTATION_STATE_ONGOING) {
- uint64_t chunk_being_archived_id;
-
chunk_status = lttng_trace_chunk_get_id(
session->chunk_being_archived,
&chunk_being_archived_id);
chunk_status = lttng_trace_chunk_get_id(
session->chunk_being_archived,
&chunk_being_archived_id);
@@
-771,7
+769,7
@@
void *thread_rotation(void *data)
DBG("[rotation-thread] Started rotation thread");
rcu_register_thread();
rcu_thread_online();
DBG("[rotation-thread] Started rotation thread");
rcu_register_thread();
rcu_thread_online();
- health_register(health_sessiond, HEALTH_SESSIOND_TYPE_ROTATION);
+ health_register(
the_
health_sessiond, HEALTH_SESSIOND_TYPE_ROTATION);
health_code_update();
if (!handle) {
health_code_update();
if (!handle) {
@@
-863,7
+861,7
@@
error:
DBG("[rotation-thread] Exit");
fini_thread_state(&thread);
end:
DBG("[rotation-thread] Exit");
fini_thread_state(&thread);
end:
- health_unregister(health_sessiond);
+ health_unregister(
the_
health_sessiond);
rcu_thread_offline();
rcu_unregister_thread();
return NULL;
rcu_thread_offline();
rcu_unregister_thread();
return NULL;
This page took
0.025087 seconds
and
4
git commands to generate.