*/
#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <popt.h>
#include <stdio.h>
#include <stdlib.h>
}
memset(&event, 0, sizeof(event));
+ /* Set default loglevel to any/unknown */
+ event.loglevel = -1;
+
switch (opt_event_type) {
case LTTNG_EVENT_SYSCALL:
event.type = LTTNG_EVENT_SYSCALL;