projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
buffers.c: fix compilation issue
[ust.git]
/
libust
/
channels.h
diff --git
a/libust/channels.h
b/libust/channels.h
index 893d8c1193b544c35ff063cbb06e1a37f3de9a7d..6f57f13de6de2b7c58800b5bda5d284f7f0f31ea 100644
(file)
--- a/
libust/channels.h
+++ b/
libust/channels.h
@@
-28,6
+28,7
@@
#include <kcompat/kref.h>
#define EVENTS_PER_CHANNEL 65536
#include <kcompat/kref.h>
#define EVENTS_PER_CHANNEL 65536
+#define MAX_CPUS 32
struct ltt_trace_struct;
struct ltt_trace_struct;
@@
-36,7
+37,8
@@
struct ust_buffer;
struct ust_channel {
/* First 32 bytes cache-hot cacheline */
struct ltt_trace_struct *trace;
struct ust_channel {
/* First 32 bytes cache-hot cacheline */
struct ltt_trace_struct *trace;
- void *buf;
+ int *buf_struct_shmids;
+ struct ust_buffer **buf;
int overwrite:1;
int active:1;
unsigned int n_subbufs_order;
int overwrite:1;
int active:1;
unsigned int n_subbufs_order;
@@
-65,8
+67,7
@@
struct ust_channel {
int subbuf_size_order;
unsigned int subbuf_cnt;
const char *channel_name;
int subbuf_size_order;
unsigned int subbuf_cnt;
const char *channel_name;
-
- int buf_shmid;
+ int n_cpus;
u32 version;
size_t alloc_size;
u32 version;
size_t alloc_size;
This page took
0.02489 seconds
and
4
git commands to generate.