projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move probe stuff to probe.h, to have it available in system wide headers
[lttng-ust.git]
/
libust
/
buffers.c
diff --git
a/libust/buffers.c
b/libust/buffers.c
index f3331d0899f523677be93f7c5e17b84007d9ee38..b7b2318cb748c47acf924ace7c6aacde4f2b1652 100644
(file)
--- a/
libust/buffers.c
+++ b/
libust/buffers.c
@@
-250,13
+250,13
@@
void *ltt_buffers_offset_address(struct ust_buffer *buf, size_t offset)
/* FIXME: does this test work properly? */
#if (BITS_PER_LONG == 32)
/* FIXME: does this test work properly? */
#if (BITS_PER_LONG == 32)
-static inline void save_last_tsc(struct
ltt_channel_buf_struct
*ltt_buf,
+static inline void save_last_tsc(struct
ust_buffer
*ltt_buf,
u64 tsc)
{
ltt_buf->last_tsc = (unsigned long)(tsc >> LTT_TSC_BITS);
}
u64 tsc)
{
ltt_buf->last_tsc = (unsigned long)(tsc >> LTT_TSC_BITS);
}
-static inline int last_tsc_overflow(struct
ltt_channel_buf_struct
*ltt_buf,
+static inline int last_tsc_overflow(struct
ust_buffer
*ltt_buf,
u64 tsc)
{
unsigned long tsc_shifted = (unsigned long)(tsc >> LTT_TSC_BITS);
u64 tsc)
{
unsigned long tsc_shifted = (unsigned long)(tsc >> LTT_TSC_BITS);
This page took
0.02991 seconds
and
4
git commands to generate.