#include <tap/tap.h>
-#include "utils.h"
-
/* This path will NEVER be created in this test */
#define PATH1 "/tmp/.test-junk-lttng"
metadata->attr.num_subbuf
== DEFAULT_METADATA_SUBBUF_NUM &&
metadata->attr.switch_timer_interval
- == DEFAULT_UST_CHANNEL_SWITCH_TIMER &&
+ == DEFAULT_METADATA_SWITCH_TIMER &&
metadata->attr.read_timer_interval
- == DEFAULT_UST_CHANNEL_READ_TIMER &&
+ == DEFAULT_METADATA_READ_TIMER &&
metadata->attr.output == LTTNG_UST_MMAP,
"Validate UST session metadata");
ev.type = LTTNG_EVENT_TRACEPOINT;
ev.loglevel_type = LTTNG_EVENT_LOGLEVEL_ALL;
- event = trace_ust_create_event(&ev, NULL);
+ event = trace_ust_create_event(&ev, NULL, NULL);
ok(event != NULL, "Create UST event");
ok((int) uctx->ctx.ctx == LTTNG_UST_CONTEXT_VTID,
"Validate UST context");
+ free(uctx);
}
int main(int argc, char **argv)