projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: Propagate filter status of kernel events to client
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
snapshot.c
diff --git
a/src/bin/lttng-sessiond/snapshot.c
b/src/bin/lttng-sessiond/snapshot.c
index 1060269f3a9e0b15232f07ec380e643fb027a18c..f9366b36e5cab2ea27f8474af7286a4437a7d050 100644
(file)
--- a/
src/bin/lttng-sessiond/snapshot.c
+++ b/
src/bin/lttng-sessiond/snapshot.c
@@
-47,10
+47,11
@@
static int output_init(uint64_t max_size, const char *name,
{
int ret = 0, i;
- assert(output);
-
memset(output, 0, sizeof(struct snapshot_output));
+ /*
+ * max_size of -1ULL means unset. Set to default (unlimited).
+ */
if (max_size == (uint64_t) -1ULL) {
max_size = 0;
}
This page took
0.024836 seconds
and
4
git commands to generate.