projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
relayd: return invalid protocol error on close chunk disallowed clear
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
cmd.c
diff --git
a/src/bin/lttng-sessiond/cmd.c
b/src/bin/lttng-sessiond/cmd.c
index 6f824bf316811c2fa486cb4a661abcca5c5b4c3f..db07082dbc4e0e50620d4b38d9bf27c97ac8b787 100644
(file)
--- a/
src/bin/lttng-sessiond/cmd.c
+++ b/
src/bin/lttng-sessiond/cmd.c
@@
-3328,9
+3328,7
@@
int cmd_destroy_session(struct ltt_session *session,
session->rotate_size = 0;
}
session->rotate_size = 0;
}
- if (session->most_recent_chunk_id.is_set &&
- session->most_recent_chunk_id.value != 0 &&
- session->current_trace_chunk && session->output_traces) {
+ if (session->rotated && session->current_trace_chunk && session->output_traces) {
/*
* Perform a last rotation on destruction if rotations have
* occurred during the session's lifetime.
/*
* Perform a last rotation on destruction if rotations have
* occurred during the session's lifetime.
This page took
0.024034 seconds
and
4
git commands to generate.