X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Fust%2Flttng-ust-abi.h;h=ef1e7e542548140f612bcfeaef94d5cdb7c28483;hb=69851cf5017c8c8cd2d6ff67592d59387510d7a7;hp=c4d51a3912b90efa3a10b0d5d1f021c3e7536e84;hpb=46050b1a32de8dd0a7b65347af630c4a77f433a1;p=lttng-ust.git diff --git a/include/ust/lttng-ust-abi.h b/include/ust/lttng-ust-abi.h index c4d51a39..ef1e7e54 100644 --- a/include/ust/lttng-ust-abi.h +++ b/include/ust/lttng-ust-abi.h @@ -41,6 +41,20 @@ struct lttng_ust_channel { unsigned int switch_timer_interval; /* usecs */ unsigned int read_timer_interval; /* usecs */ enum lttng_ust_output output; /* output mode */ + /* The following fields are used internally within UST. */ + int shm_fd; + int wait_fd; + uint64_t memory_map_size; +}; + +/* + * This structure is only used internally within UST. It is not per-se + * part of the communication between sessiond and UST. + */ +struct lttng_ust_stream { + int shm_fd; + int wait_fd; + uint64_t memory_map_size; }; struct lttng_ust_event { @@ -76,6 +90,7 @@ struct lttng_ust_context { _UST_CMDR(0x41, struct lttng_ust_tracer_version) #define LTTNG_UST_TRACEPOINT_LIST _UST_CMD(0x42) #define LTTNG_UST_WAIT_QUIESCENT _UST_CMD(0x43) +#define LTTNG_UST_REGISTER_DONE _UST_CMD(0x44) /* Session FD commands */ #define LTTNG_UST_METADATA \