#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"
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;
};
char *sock_path;
pthread_mutex_t mutex;
int active_buffers;
+ int active_threads;
};
/**