projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright ownership transfer
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
create.c
diff --git
a/src/bin/lttng/commands/create.c
b/src/bin/lttng/commands/create.c
index 22d1790f726f6fed25df5f7d43082fe81d3e034e..ccd2280043d20826263e0dd44ab5da9a721092aa 100644
(file)
--- a/
src/bin/lttng/commands/create.c
+++ b/
src/bin/lttng/commands/create.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2011
David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011
EfficiOS Inc.
* Copyright (C) 2019 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
* SPDX-License-Identifier: GPL-2.0-only
* Copyright (C) 2019 Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
* SPDX-License-Identifier: GPL-2.0-only
@@
-132,7
+132,6
@@
end:
static
struct lttng_session_descriptor *create_session_descriptor(void)
{
static
struct lttng_session_descriptor *create_session_descriptor(void)
{
- int ret;
ssize_t uri_count;
enum output_type output_type;
struct lttng_uri *uris = NULL;
ssize_t uri_count;
enum output_type output_type;
struct lttng_uri *uris = NULL;
@@
-144,6
+143,7
@@
struct lttng_session_descriptor *create_session_descriptor(void)
output_type = OUTPUT_NONE;
} else if (opt_output_path) {
char *expanded_output_path;
output_type = OUTPUT_NONE;
} else if (opt_output_path) {
char *expanded_output_path;
+ int ret;
output_type = OUTPUT_LOCAL;
expanded_output_path = utils_expand_path(opt_output_path);
output_type = OUTPUT_LOCAL;
expanded_output_path = utils_expand_path(opt_output_path);
@@
-160,6
+160,8
@@
struct lttng_session_descriptor *create_session_descriptor(void)
goto end;
}
} else if (opt_url || opt_ctrl_url) {
goto end;
}
} else if (opt_url || opt_ctrl_url) {
+ int ret;
+
uri_str1 = opt_ctrl_url ? opt_ctrl_url : opt_url;
uri_str2 = opt_data_url;
uri_str1 = opt_ctrl_url ? opt_ctrl_url : opt_url;
uri_str2 = opt_data_url;
This page took
0.024949 seconds
and
4
git commands to generate.