standardize on flush buffer (no plural)
[lttng-ust.git] / include / ust / lttng-ust-abi.h
index 73eb61f3f4d11cbb48c0dd4ead8a1b7a98f7c548..da2bfb942a111844379bad1ff7d6b8b5eed55238 100644 (file)
@@ -41,6 +41,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;
 };
 
 /*
@@ -63,6 +67,9 @@ 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,
+       LTTNG_UST_CONTEXT_PROCNAME              = 3,
 };
 
 struct lttng_ust_context {
@@ -104,6 +111,8 @@ struct lttng_ust_context {
 /* Event and Channel FD commands */
 #define LTTNG_UST_CONTEXT                      \
        _UST_CMDW(0x70, struct lttng_ust_context)
+#define LTTNG_UST_FLUSH_BUFFER                 \
+       _UST_CMD(0x71)
 
 /* Event, Channel and Session commands */
 #define LTTNG_UST_ENABLE                       _UST_CMD(0x80)
This page took 0.025944 seconds and 4 git commands to generate.