LTTCOMM_NO_EVENT, /* No event found */
LTTCOMM_CONNECT_FAIL, /* Unable to connect to unix socket */
LTTCOMM_APP_NOT_FOUND, /* App not found in traceable app list */
+ LTTCOMM_EPERM, /* Permission denied */
LTTCOMM_KERN_NA, /* Kernel tracer unavalable */
LTTCOMM_KERN_EVENT_EXIST, /* Kernel event already exists */
LTTCOMM_KERN_SESS_FAIL, /* Kernel create session failed */
uint32_t state; /* enum lttcomm_consumer_fd_state */
enum lttng_event_output output; /* use splice or mmap to consume this fd */
uint64_t mmap_len;
+ uid_t uid; /* User ID owning the session */
+ gid_t gid; /* Group ID owning the session */
char path_name[PATH_MAX];
} stream;
} u;