Signed-off-by: Jonathan Rajotte <[email protected]>
---
src/bin/lttng/lttng.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/bin/lttng/lttng.c b/src/bin/lttng/lttng.c
index 13c7732..4cc320c 100644
--- a/src/bin/lttng/lttng.c
+++ b/src/bin/lttng/lttng.c
@@ -432,7 +432,9 @@ static int check_args_no_sessiond(int argc, char **argv)
strncmp(argv[i], "--list-options",
sizeof("--list-options")) == 0 ||
strncmp(argv[i], "--list-commands",
sizeof("--list-commands")) == 0 ||
strncmp(argv[i], "version", sizeof("version"))
== 0 ||
- strncmp(argv[i], "view", sizeof("view")) == 0) {
+ strncmp(argv[i], "view", sizeof("view")) == 0 ||
+ strncmp(argv[i], "track", sizeof("track")) == 0
||
+ strncmp(argv[i], "untrack", sizeof("untrack"))
== 0) {
return 1;
}
}
--
2.1.4
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev