projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: sessiond: bounded snapshot record fails when no streams exist
[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 02a92be1e07e45ba71e4c767ebca0f6a18050ec9..1c53cadf824e7a5d7ab6f24cd43707a0af303f0d 100644
(file)
--- a/
src/bin/lttng-sessiond/cmd.c
+++ b/
src/bin/lttng-sessiond/cmd.c
@@
-4540,7
+4540,7
@@
int64_t get_session_nb_packets_per_stream(const struct ltt_session *session,
}
cur_nb_packets++;
}
- if (!cur_nb_packets) {
+ if (!cur_nb_packets
&& size_left != max_size
) {
/* Not enough room to grab one packet of each stream, error. */
return -1;
}
This page took
0.023693 seconds
and
4
git commands to generate.