summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
22fae25)
Add an assert to validate that a newly created uevent is not enabled.
If it was enabled at creation time, it would be leaked before it is
published.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
if (uevent->enabled) {
/* It's already enabled so everything is OK */
if (uevent->enabled) {
/* It's already enabled so everything is OK */
ret = LTTNG_ERR_UST_EVENT_ENABLED;
goto end;
}
ret = LTTNG_ERR_UST_EVENT_ENABLED;
goto end;
}