X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fust%2Flttng-ust-abi.h;h=c967fb11188e432967bf186cd12450c27a7ccb28;hb=c1ef86f0812ff62354175f4c7136930814b8f850;hp=56fa8b9e076767e664e0bb9db76661c182acd907;hpb=11ff9c7d186237bf04d14ca05b2071bc0f12cae3;p=lttng-ust.git diff --git a/include/ust/lttng-ust-abi.h b/include/ust/lttng-ust-abi.h index 56fa8b9e..c967fb11 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 { @@ -53,6 +67,8 @@ struct lttng_ust_event { enum lttng_ust_context_type { LTTNG_UST_CONTEXT_VTID = 0, + LTTNG_UST_CONTEXT_VPID = 1, + LTTNG_UST_CONTEXT_PTHREAD_ID = 2, }; struct lttng_ust_context {