summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6e7241f)
$ lttng disable-event -a
and
$ lttng disable-event '*'
Both commands should do the same meaning send the DISABLE_EVENT_ALL
command to the session daemon.
Signed-off-by: David Goulet <dgoulet@efficios.com>
lttng_ctl_copy_lttng_domain(&lsm.domain, &handle->domain);
lttng_ctl_copy_lttng_domain(&lsm.domain, &handle->domain);
+ if (name != NULL && *name != '*') {
lttng_ctl_copy_string(lsm.u.disable.name, name,
sizeof(lsm.u.disable.name));
lsm.cmd_type = LTTNG_DISABLE_EVENT;
lttng_ctl_copy_string(lsm.u.disable.name, name,
sizeof(lsm.u.disable.name));
lsm.cmd_type = LTTNG_DISABLE_EVENT;