X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fview.c;h=44e0cb015c93e90bc31cc553bead112f368602cd;hp=dc37a09ddb58f83f01757dc5e89c75a46fa2deb9;hb=4adbcc726eda1a14966e9f9ea7c0381a048ae8f6;hpb=d15b34086541ad6b9c067f41da42abebf26ce4ca diff --git a/src/bin/lttng/commands/view.c b/src/bin/lttng/commands/view.c index dc37a09dd..44e0cb015 100644 --- a/src/bin/lttng/commands/view.c +++ b/src/bin/lttng/commands/view.c @@ -15,7 +15,6 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#define _GNU_SOURCE #define _LGPL_SOURCE #include #include @@ -26,7 +25,6 @@ #include #include "../command.h" -#include static char *opt_session_name; static char *opt_viewer; @@ -111,12 +109,6 @@ static struct viewers *parse_options(void) return &(viewers[VIEWER_BABELTRACE]); } -#if 0 - if (strstr(opt_viewer, viewers[VIEWER_LTTV_GUI].exec_name) == 0) { - return &(viewers[VIEWER_LTTV_GUI]); - } -#endif - /* * 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"