projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: support temporary snapshot max size and name
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-app.c
diff --git
a/src/bin/lttng-sessiond/ust-app.c
b/src/bin/lttng-sessiond/ust-app.c
index 223fb77c0c936e0b81d678e4787a2c5f46e80bdc..9863bf75d2ae610d5dbfcf317c5944ad7c314634 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-app.c
+++ b/
src/bin/lttng-sessiond/ust-app.c
@@
-4929,7
+4929,8
@@
int ust_app_snapshot_record(struct ltt_ust_session *usess,
* subbuffer size or else it's an error since we won't be able to
* snapshot anything.
*/
* subbuffer size or else it's an error since we won't be able to
* snapshot anything.
*/
- if (ua_chan->attr.subbuf_size > max_stream_size) {
+ if (max_stream_size &&
+ ua_chan->attr.subbuf_size > max_stream_size) {
ret = -EINVAL;
DBG3("UST app snapshot record maximum stream size %" PRIu64
" is smaller than subbuffer size of %" PRIu64,
ret = -EINVAL;
DBG3("UST app snapshot record maximum stream size %" PRIu64
" is smaller than subbuffer size of %" PRIu64,
This page took
0.024119 seconds
and
4
git commands to generate.