projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
save registers: fix small problems
[lttng-ust.git]
/
libust
/
relay.h
diff --git
a/libust/relay.h
b/libust/relay.h
index ba7c1d63aa2d10c35349bf2d86b70e9000228e04..0e1827912b4870472088ed51f07d32d4e9fe42e6 100644
(file)
--- a/
libust/relay.h
+++ b/
libust/relay.h
@@
-213,7
+213,7
@@
static inline struct buf_page *ltt_relay_cache_page(struct rchan_buf *buf,
}
//ust// #ifdef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
}
//ust// #ifdef CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
-
static inline void ltt_relay_do_copy(void *dest, const void *src, size_t len)
+static inline void ltt_relay_do_copy(void *dest, const void *src, size_t len)
{
union {
const void *src;
{
union {
const void *src;
@@
-317,7
+317,7
@@
static inline int ltt_relay_write(struct rchan_buf *buf, size_t offset,
* CONFIG_LTT_RELAY kernel API, ltt/ltt-relay-alloc.c
*/
* CONFIG_LTT_RELAY kernel API, ltt/ltt-relay-alloc.c
*/
-struct rchan *ltt_relay_open(const char *base_filename,
+
extern
struct rchan *ltt_relay_open(const char *base_filename,
struct dentry *parent,
size_t subbuf_size,
size_t n_subbufs,
struct dentry *parent,
size_t subbuf_size,
size_t n_subbufs,
@@
-375,10
+375,15
@@
struct ltt_channel_buf_struct {
local_t commit_seq[0] ____cacheline_aligned;
} ____cacheline_aligned;
local_t commit_seq[0] ____cacheline_aligned;
} ____cacheline_aligned;
-int ltt_do_get_subbuf(struct rchan_buf *buf, struct ltt_channel_buf_struct *ltt_buf, long *pconsumed_old);
+
extern
int ltt_do_get_subbuf(struct rchan_buf *buf, struct ltt_channel_buf_struct *ltt_buf, long *pconsumed_old);
-int ltt_do_put_subbuf(struct rchan_buf *buf, struct ltt_channel_buf_struct *ltt_buf, u32 uconsumed_old);
+
extern
int ltt_do_put_subbuf(struct rchan_buf *buf, struct ltt_channel_buf_struct *ltt_buf, u32 uconsumed_old);
-void init_ustrelay_transport(void);
+extern void init_ustrelay_transport(void);
+
+/*static*/ /* inline */ notrace void ltt_commit_slot(
+ struct ltt_channel_struct *ltt_channel,
+ void **transport_data, long buf_offset,
+ size_t data_size, size_t slot_size);
#endif /* _LINUX_LTT_RELAY_H */
#endif /* _LINUX_LTT_RELAY_H */
This page took
0.025453 seconds
and
4
git commands to generate.