From 8d9ce0bc94bfec4b7bd85f16cd068926e3dc7779 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sun, 25 Sep 2016 14:32:27 -0400 Subject: [PATCH 1/1] Cleanup: Remove fun from code base MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It appears choosing the release names provides plenty of enjoyment to LTTng developers, thus allowing us to remove those easter eggs. Incidentally, it will allow me to demo the LTTng project without carrying this Welcome back Dr Tracing! message each time I issue a "lttng" command. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/main.c | 6 ------ src/bin/lttng/lttng.c | 8 -------- 2 files changed, 14 deletions(-) diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index b0674612b..5e19f379f 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -760,12 +760,6 @@ static void sessiond_cleanup_options(void) free(kmod_extra_probes_list); run_as_destroy_worker(); - - /* */ - DBG("%c[%d;%dm*** assert failed :-) *** ==> %c[%dm%c[%d;%dm" - "Matthew, BEET driven development works!%c[%dm", - 27, 1, 31, 27, 0, 27, 1, 33, 27, 0); - /* */ } /* diff --git a/src/bin/lttng/lttng.c b/src/bin/lttng/lttng.c index 34816be56..9317e83dc 100644 --- a/src/bin/lttng/lttng.c +++ b/src/bin/lttng/lttng.c @@ -389,14 +389,6 @@ static int parse_args(int argc, char **argv) goto error; } - /* For Mathieu Desnoyers a.k.a. Dr. Tracing */ - user = getenv("USER"); - if (user != NULL && ((strncmp(progname, "drtrace", 7) == 0 || - strncmp("compudj", user, 7) == 0))) { - MSG("%c[%d;%dmWelcome back Dr Tracing!%c[%dm\n", 27,1,33,27,0); - } - /* Thanks Mathieu */ - /* * Handle leftovers which is a first level command with the trailing * options. -- 2.34.1