Port: Remove _GNU_SOURCE, defined in config.h
[lttng-tools.git] / src / lib / lttng-ctl / lttng-ctl.c
index 9cbfef5f7efc67ccaddfda0d31675c872fb5f75e..ae27e6b5b3c42ca37c496631f4de793ee4733449 100644 (file)
@@ -19,7 +19,6 @@
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <grp.h>
@@ -1091,10 +1090,6 @@ int lttng_disable_event_ext(struct lttng_handle *handle,
        }
 
        lsm.cmd_type = LTTNG_DISABLE_EVENT;
-       if (ev->name[0] == '\0') {
-               /* Disable all events */
-               lttng_ctl_copy_string(ev->name, "*", sizeof(ev->name));
-       }
 
        lttng_ctl_copy_lttng_domain(&lsm.domain, &handle->domain);
        /* FIXME: copying non-packed struct to packed struct. */
This page took 0.024663 seconds and 5 git commands to generate.