|
@@ -2486,7 +2486,7 @@ static inline void rb_event_discard(struct ring_buffer_event *event)
|
|
event->time_delta = 1;
|
|
event->time_delta = 1;
|
|
}
|
|
}
|
|
|
|
|
|
-static inline bool
|
|
|
|
|
|
+static __always_inline bool
|
|
rb_event_is_commit(struct ring_buffer_per_cpu *cpu_buffer,
|
|
rb_event_is_commit(struct ring_buffer_per_cpu *cpu_buffer,
|
|
struct ring_buffer_event *event)
|
|
struct ring_buffer_event *event)
|
|
{
|
|
{
|
|
@@ -2500,7 +2500,7 @@ rb_event_is_commit(struct ring_buffer_per_cpu *cpu_buffer,
|
|
rb_commit_index(cpu_buffer) == index;
|
|
rb_commit_index(cpu_buffer) == index;
|
|
}
|
|
}
|
|
|
|
|
|
-static void
|
|
|
|
|
|
+static __always_inline void
|
|
rb_update_write_stamp(struct ring_buffer_per_cpu *cpu_buffer,
|
|
rb_update_write_stamp(struct ring_buffer_per_cpu *cpu_buffer,
|
|
struct ring_buffer_event *event)
|
|
struct ring_buffer_event *event)
|
|
{
|
|
{
|