projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb24055
)
Fix: zeroed snapshot output at init
author
David Goulet
<dgoulet@efficios.com>
Fri, 12 Jul 2013 14:16:26 +0000
(10:16 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Fri, 12 Jul 2013 15:18:28 +0000
(11:18 -0400)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/snapshot.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-sessiond/snapshot.c
b/src/bin/lttng-sessiond/snapshot.c
index 4c23ee424292176032da37d2a57fa9cd21e3ec5e..d22b5d52c98b730d122d91605c0f6851ef578c61 100644
(file)
--- a/
src/bin/lttng-sessiond/snapshot.c
+++ b/
src/bin/lttng-sessiond/snapshot.c
@@
-47,6
+47,8
@@
static int output_init(uint64_t max_size, const char *name,
assert(output);
+ memset(output, 0, sizeof(struct snapshot_output));
+
if (max_size == (uint64_t) -1ULL) {
max_size = 0;
}
This page took
0.025689 seconds
and
4
git commands to generate.