X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fview.c;h=1a9ad6c3a3868978467563b791cff34a133f6b35;hp=b9f3553b32511fd142de47f71a1e6468a24a105e;hb=a85cae2bef6e4583072236c71770d4244ec5cf9d;hpb=d2cb4a903e7b0868be99c6d558ce0c782af81c27 diff --git a/src/bin/lttng/commands/view.c b/src/bin/lttng/commands/view.c index b9f3553b3..1a9ad6c3a 100644 --- a/src/bin/lttng/commands/view.c +++ b/src/bin/lttng/commands/view.c @@ -58,10 +58,6 @@ enum viewer_type { VIEWER_USER_DEFINED = 2, }; -/* - * NOTE: "lttv" is a shell command and it's not working for exec() family - * functions so we might think of removing this wrapper or using bash. - */ static const struct viewers { const char *exec_name; enum viewer_type type; @@ -81,11 +77,6 @@ static const struct viewers *parse_options(void) return &(viewers[VIEWER_BABELTRACE2]); } - /* - * This means that if -e, --viewers is used, we just override everything - * with it. For supported viewers like lttv, we could simply detect if "-t" - * is passed and if not, add the trace directory to it. - */ return &(viewers[VIEWER_USER_DEFINED]); }