From: Jérémie Galarneau Date: Thu, 30 Jan 2020 17:01:57 +0000 (-0500) Subject: lttng-view: clean-up: remove commented and unused references to lttv X-Git-Tag: v2.12.0-rc1~32 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=6dd26587e926671cdec2545b7d3db74cbd6a7cd8;p=lttng-tools.git lttng-view: clean-up: remove commented and unused references to lttv Signed-off-by: Jérémie Galarneau Change-Id: I207c1a00c37b61bd7bd76a265e17e1e4bdf53d93 --- diff --git a/configure.ac b/configure.ac index 4e41487b0..97bb30f2a 100644 --- a/configure.ac +++ b/configure.ac @@ -319,7 +319,6 @@ AC_DEFINE_UNQUOTED([CONFIG_CONSUMERD64_BIN], "$CONSUMERD64_BIN", [Location of th AC_DEFINE_UNQUOTED([CONFIG_CONSUMERD32_LIBDIR], "$CONSUMERD32_LIBDIR", [Search for consumerd 32-bit libraries in this location.]) AC_DEFINE_UNQUOTED([CONFIG_CONSUMERD64_LIBDIR], "$CONSUMERD64_LIBDIR", [Search for consumerd 64-bit libraries in this location.]) AC_DEFINE_UNQUOTED([CONFIG_BABELTRACE_BIN], "$BABELTRACE_BIN", [Location of the babeltrace viewer executable.]) -AC_DEFINE_UNQUOTED([CONFIG_LTTV_GUI_BIN], "$LTTV_GUI_BIN", [Location of the lttv GUI viewer executable.]) AC_DEFINE_UNQUOTED([CONFIG_SESSIOND_BIN], "$SESSIOND_BIN", [Location of the sessiond executable.]) AC_DEFINE_UNQUOTED([CONFIG_LTTNG_SYSTEM_RUNDIR], ["$LTTNG_SYSTEM_RUNDIR"], [LTTng system runtime directory]) diff --git a/src/bin/lttng/commands/view.c b/src/bin/lttng/commands/view.c index 8e63a8997..a8dcdd11f 100644 --- a/src/bin/lttng/commands/view.c +++ b/src/bin/lttng/commands/view.c @@ -30,7 +30,6 @@ static char *opt_session_name; static char *opt_viewer; static char *opt_trace_path; static const char *babeltrace_bin = CONFIG_BABELTRACE_BIN; -//static const char *lttv_gui_bin = CONFIG_LTTV_GUI_BIN; #ifdef LTTNG_EMBED_HELP static const char help_msg[] = @@ -56,7 +55,6 @@ static struct poptOption long_options[] = { * This is needed for each viewer since we are using execvp(). */ static const char *babeltrace_opts[] = { "babeltrace" }; -//static const char *lttv_gui_opts[] = { "lttv-gui", "-t", }; /* * Type is also use as the index in the viewers array. So please, make sure @@ -64,8 +62,7 @@ static const char *babeltrace_opts[] = { "babeltrace" }; */ enum viewer_type { VIEWER_BABELTRACE = 0, - VIEWER_LTTV_GUI = 1, - VIEWER_USER_DEFINED = 2, + VIEWER_USER_DEFINED = 1, }; /* @@ -77,7 +74,6 @@ static struct viewers { enum viewer_type type; } viewers[] = { { "babeltrace", VIEWER_BABELTRACE }, - { "lttv-gui", VIEWER_LTTV_GUI }, { NULL, VIEWER_USER_DEFINED }, };