From: Francis Deslauriers Date: Thu, 2 Apr 2020 20:00:14 +0000 (-0400) Subject: lttng-view: clean-up: remove references to LTTv X-Git-Tag: v2.12.0~15 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=054053f93038822a3baff41faea680d32836bbbe;p=lttng-tools.git lttng-view: clean-up: remove references to LTTv Those comments are not relevant anymore and were missed by the following clean-up commit: commit 6dd26587e926671cdec2545b7d3db74cbd6a7cd8 Author: Jérémie Galarneau Date: Thu Jan 30 12:01:57 2020 -0500 lttng-view: clean-up: remove commented and unused references to lttv Signed-off-by: Francis Deslauriers Change-Id: Ie68614c8160f62a2c045153b377f036a4399ad87 Signed-off-by: Jérémie Galarneau --- 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]); }