From a85cae2bef6e4583072236c71770d4244ec5cf9d Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Thu, 2 Apr 2020 16:00:14 -0400 Subject: [PATCH] lttng-view: clean-up: remove references to LTTv MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/bin/lttng/commands/view.c | 9 --------- 1 file changed, 9 deletions(-) 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]); } -- 2.34.1