X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Flttng-ust.h;h=b7143f871ba1510d94191e412ffe6b95ad82ccd4;hb=4bc385dd824ca7c10e3177346926350c86d04754;hp=284b24cbc13907b37d5b1604e907e0043f6f2b6a;hpb=099e26bda04bd3e02eee5b0a17fc0d7f47e3f8ea;p=lttng-tools.git diff --git a/include/lttng-ust.h b/include/lttng-ust.h index 284b24cbc..b7143f871 100644 --- a/include/lttng-ust.h +++ b/include/lttng-ust.h @@ -4,7 +4,8 @@ /* * Taken from the lttng-ust-abi.h in the UST 2.0 git tree * - * Copyright 2010-2011 (c) - Mathieu Desnoyers + * Copyright 2010-2011 - Mathieu Desnoyers + * Copyright 2011 - David Goulet * * LTTng-UST ABI header * @@ -13,10 +14,10 @@ #include -#define LTTNG_UST_SYM_NAME_LEN 128 +#define LTTNG_UST_SYM_NAME_LEN 128 -#define LTTNG_UST_COMM_VERSION_MAJOR 0 -#define LTTNG_UST_COMM_VERSION_MINOR 1 +#define LTTNG_UST_COMM_VERSION_MAJOR 0 +#define LTTNG_UST_COMM_VERSION_MINOR 1 enum lttng_ust_instrumentation { LTTNG_UST_TRACEPOINT = 0, @@ -41,6 +42,10 @@ 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; }; struct lttng_ust_event {