Privatize headers
[ust.git] / include / ust / ustconsumer.h
index e07b75e84d137b5731df6ea1b15c35737c474239..8c534888bf41082fd0400e12ff608ddfdfcac3e3 100644 (file)
@@ -28,7 +28,7 @@
 
 #include <pthread.h>
 #include <dirent.h>
-#include <ust/kcompat/kcompat.h>
+#include <unistd.h>
 #include <urcu/list.h>
 
 #define USTCONSUMER_DEFAULT_TRACE_PATH "/tmp/usttrace"
@@ -57,13 +57,17 @@ struct buffer_info {
        int n_subbufs;
        /* size of each subbuffer */
        int subbuf_size;
+       /* subbuf size count order */
+       int subbuf_size_order;
+       /* alloc size of all subbuf */
+       int alloc_size;
 
        /* the buffer information struct */
        void *bufstruct_mem;
 
        long consumed_old;
 
-       s64 pidunique;
+       int64_t pidunique;
 
        void *user_data;
 };
@@ -85,6 +89,7 @@ struct ustconsumer_instance {
        char *sock_path;
        pthread_mutex_t mutex;
        int active_buffers;
+       int active_threads;
 };
 
 /**
This page took 0.023145 seconds and 4 git commands to generate.