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:
83b7c3b
)
Fix: don't spawn relayd if URL is provided
author
David Goulet
<dgoulet@efficios.com>
Fri, 28 Mar 2014 17:19:47 +0000
(13:19 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Fri, 28 Mar 2014 17:19:47 +0000
(13:19 -0400)
In the lttng command line tool, relayd should only be spawned for the
default use case which is no URL provided.
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng/commands/create.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng/commands/create.c
b/src/bin/lttng/commands/create.c
index 4a47d6714f8f9b38f6f48b5f6363bfa1e4e17125..e02b141420c075a1c0e687befade8192eb0d4721 100644
(file)
--- a/
src/bin/lttng/commands/create.c
+++ b/
src/bin/lttng/commands/create.c
@@
-387,7
+387,8
@@
static int create_session(void)
} else {
pathname = INSTALL_BIN_PATH "/lttng-relayd";
}
- if (!check_relayd() && spawn_relayd(pathname, 0) < 0) {
+ if (!opt_url && !opt_data_url && !check_relayd() &&
+ spawn_relayd(pathname, 0) < 0) {
goto error;
}
ret = lttng_create_session_live(session_name, url, opt_live_timer);
This page took
0.025799 seconds
and
4
git commands to generate.