size_t offset);
/* FIXME: lttng has a version for systems with inefficient unaligned access */
-static inline void ust_buffers_do_copy(void *dest, const void *src, size_t len)
+static __inline__ void ust_buffers_do_copy(void *dest, const void *src, size_t len)
{
union {
const void *src;
}
/* FIXME: there is both a static inline and a '_' non static inline version ?? */
-static inline int ust_buffers_write(struct ust_buffer *buf, size_t offset,
+static __inline__ int ust_buffers_write(struct ust_buffer *buf, size_t offset,
const void *src, size_t len)
{
size_t cpy;
/* static ids 0-1 reserved for internal use. */
#define MARKER_CORE_IDS 2
-static inline enum marker_id marker_id_type(uint16_t id)
+static __inline__ enum marker_id marker_id_type(uint16_t id)
{
if (id < MARKER_CORE_IDS)
return (enum marker_id)id;
* structure because gcc generates inefficient code on some architectures
* (powerpc, mips..)
*/
-static inline size_t ltt_subbuffer_header_size(void)
+static __inline__ size_t ltt_subbuffer_header_size(void)
{
return offsetof(struct ltt_subbuffer_header, header_end);
}
* The payload must itself determine its own alignment from the biggest type it
* contains.
* */
-static inline unsigned char ust_get_header_size(
+static __inline__ unsigned char ust_get_header_size(
struct ust_channel *channel,
size_t offset,
size_t data_size,
*
* returns : offset where the event data must be written.
*/
-static inline size_t ltt_write_event_header(struct ltt_trace_struct *trace,
+static __inline__ size_t ltt_write_event_header(struct ltt_trace_struct *trace,
struct ust_buffer *buf, long buf_offset,
u16 eID, size_t event_size,
u64 tsc, unsigned int rflags)
*
* Return : -ENOSPC if not enough space, else 0.
*/
-static inline int ltt_reserve_slot(
+static __inline__ int ltt_reserve_slot(
struct ltt_trace_struct *trace,
struct ust_channel *channel,
void **transport_data,