X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fcreate.c;h=f9c7f86873aaac2d9c7f4c249b4f4a738fd2ec0d;hp=dd10ab22767b8718ef232f4c19656e758b79c9bf;hb=16de1a24449a4ea2ea57f8183abb4dd34255ac66;hpb=07424f161f4afbd07fd165e4ae492726e1de7769 diff --git a/src/bin/lttng/commands/create.c b/src/bin/lttng/commands/create.c index dd10ab227..f9c7f8687 100644 --- a/src/bin/lttng/commands/create.c +++ b/src/bin/lttng/commands/create.c @@ -60,7 +60,10 @@ static struct poptOption long_options[] = { {0, 0, 0, 0, 0, 0, 0} }; -/* HACK */ +/* + * Please have a look at src/lib/lttng-ctl/lttng-ctl.c for more information on + * why this declaration exists and used ONLY in for this command. + */ extern int _lttng_create_session_ext(const char *name, const char *url, const char *datetime); @@ -104,7 +107,7 @@ static void usage(FILE *ofp) fprintf(ofp, " > file://...\n"); fprintf(ofp, " Local filesystem full path.\n"); fprintf(ofp, "\n"); - fprintf(ofp, " > net[4|6]://...\n"); + fprintf(ofp, " > net[6]://...\n"); fprintf(ofp, " This will use the default network transport layer which is\n"); fprintf(ofp, " TCP for both control (PORT1) and data port (PORT2).\n"); fprintf(ofp, " The default ports are respectively 5342 and 5343.\n");