X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Flttng-ctl.c;h=cacae13bb84da3e4033a016c244cbfa970d7172c;hp=f83d053aa00859da61a4e6cd8a9ae0ab465c7148;hb=d979615c8e80be1989c7e889169fb6976f8080d6;hpb=6e7241fe92e7b5db872d164c3e1a0f75ce5a1463 diff --git a/src/lib/lttng-ctl/lttng-ctl.c b/src/lib/lttng-ctl/lttng-ctl.c index f83d053aa..cacae13bb 100644 --- a/src/lib/lttng-ctl/lttng-ctl.c +++ b/src/lib/lttng-ctl/lttng-ctl.c @@ -1067,7 +1067,7 @@ int lttng_disable_event(struct lttng_handle *handle, const char *name, lttng_ctl_copy_lttng_domain(&lsm.domain, &handle->domain); - if (name != NULL) { + if (name != NULL && *name != '*') { lttng_ctl_copy_string(lsm.u.disable.name, name, sizeof(lsm.u.disable.name)); lsm.cmd_type = LTTNG_DISABLE_EVENT;