projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Privatize headers
[ust.git]
/
include
/
ust
/
ustconsumer.h
diff --git
a/include/ust/ustconsumer.h
b/include/ust/ustconsumer.h
index e07b75e84d137b5731df6ea1b15c35737c474239..8c534888bf41082fd0400e12ff608ddfdfcac3e3 100644
(file)
--- a/
include/ust/ustconsumer.h
+++ b/
include/ust/ustconsumer.h
@@
-28,7
+28,7
@@
#include <pthread.h>
#include <dirent.h>
#include <pthread.h>
#include <dirent.h>
-#include <u
st/kcompat/kcompat
.h>
+#include <u
nistd
.h>
#include <urcu/list.h>
#define USTCONSUMER_DEFAULT_TRACE_PATH "/tmp/usttrace"
#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;
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;
/* the buffer information struct */
void *bufstruct_mem;
long consumed_old;
-
s64
pidunique;
+
int64_t
pidunique;
void *user_data;
};
void *user_data;
};
@@
-85,6
+89,7
@@
struct ustconsumer_instance {
char *sock_path;
pthread_mutex_t mutex;
int active_buffers;
char *sock_path;
pthread_mutex_t mutex;
int active_buffers;
+ int active_threads;
};
/**
};
/**
This page took
0.023347 seconds
and
4
git commands to generate.