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:
645328a
)
Fix: set session in output mode if URL are set afterwards
author
David Goulet
<dgoulet@efficios.com>
Wed, 25 Jun 2014 20:35:54 +0000
(16:35 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Wed, 25 Jun 2014 20:59:49 +0000
(16:59 -0400)
Fixes #809
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/cmd.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-sessiond/cmd.c
b/src/bin/lttng-sessiond/cmd.c
index a57409d411b10ac09e53e655ca9cfc8c4a215710..d1bf6f0c034d7a96e266c06fc6dbf6c9925e4fbc 100644
(file)
--- a/
src/bin/lttng-sessiond/cmd.c
+++ b/
src/bin/lttng-sessiond/cmd.c
@@
-1987,6
+1987,17
@@
int cmd_set_consumer_uri(int domain, struct ltt_session *session,
}
}
+ /*
+ * Make sure to set the session in output mode after we set URI since a
+ * session can be created without URL (thus flagged in no output mode).
+ */
+ session->output_traces = 1;
+ if (ksess) {
+ ksess->output_traces = 1;
+ } else if (usess) {
+ usess->output_traces = 1;
+ }
+
/* All good! */
ret = LTTNG_OK;
This page took
0.029002 seconds
and
4
git commands to generate.