projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cygwin: Remove weak symbols attributes due to semantic differences
[lttng-ust.git]
/
libringbuffer
/
frontend_types.h
diff --git
a/libringbuffer/frontend_types.h
b/libringbuffer/frontend_types.h
index 37fabad39c5b87b019ba2a55c8621592dfa7efa3..b6b34470ce28447b8f6dea168369078ec5a608ff 100644
(file)
--- a/
libringbuffer/frontend_types.h
+++ b/
libringbuffer/frontend_types.h
@@
-46,7
+46,6
@@
enum switch_mode { SWITCH_ACTIVE, SWITCH_FLUSH };
/* channel: collection of per-cpu ring buffers. */
enum switch_mode { SWITCH_ACTIVE, SWITCH_FLUSH };
/* channel: collection of per-cpu ring buffers. */
-#define RB_CHANNEL_PADDING 64
struct channel {
int record_disabled;
unsigned long commit_count_mask; /*
struct channel {
int record_disabled;
unsigned long commit_count_mask; /*
@@
-61,12
+60,12
@@
struct channel {
//wait_queue_head_t read_wait; /* reader wait queue */
int finalized; /* Has channel been finalized */
size_t priv_data_offset;
//wait_queue_head_t read_wait; /* reader wait queue */
int finalized; /* Has channel been finalized */
size_t priv_data_offset;
+ /* Note: padding field is missing */
/*
* Associated backend contains a variable-length array. Needs to
* be last member.
*/
struct channel_backend backend; /* Associated backend */
/*
* Associated backend contains a variable-length array. Needs to
* be last member.
*/
struct channel_backend backend; /* Associated backend */
- char padding[RB_CHANNEL_PADDING];
} __attribute__((aligned(CAA_CACHE_LINE_SIZE)));
/* Per-subbuffer commit counters used on the hot path */
} __attribute__((aligned(CAA_CACHE_LINE_SIZE)));
/* Per-subbuffer commit counters used on the hot path */
This page took
0.024757 seconds
and
4
git commands to generate.