X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=inline;f=src%2Flib%2Flttng-ctl%2Flttng-ctl.c;h=100732648e6e288ef57829d70bec346e2ad59b70;hb=9550ee81b0277eb873333fc42a9e6ffc2ef00274;hp=779ee675fc92257e58c910dc4ee44703b3cfa08d;hpb=1b18ce9394f3fb22b9bad54caffc3d8424de01ba;p=lttng-tools.git diff --git a/src/lib/lttng-ctl/lttng-ctl.c b/src/lib/lttng-ctl/lttng-ctl.c index 779ee675f..100732648 100644 --- a/src/lib/lttng-ctl/lttng-ctl.c +++ b/src/lib/lttng-ctl/lttng-ctl.c @@ -759,7 +759,7 @@ error: } /* - * Generate the filter bytecode from a give filter expression string. Put the + * Generate the filter bytecode from a given filter expression string. Put the * newly allocated parser context in ctxp and populate the lsm object with the * expression len. * @@ -1091,10 +1091,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. */