diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2016-11-23 17:40:34 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-11-23 17:40:34 +0100 |
commit | 929ddbf3ef4e07fef67e93e998020d49d2533724 (patch) | |
tree | 63491f91f9566e7e541eb6592fb95bb331da88bb /net/netlink | |
parent | ring-buffer: Make rb_reserve_next_event() always inlined (diff) | |
download | linux-929ddbf3ef4e07fef67e93e998020d49d2533724.tar.xz linux-929ddbf3ef4e07fef67e93e998020d49d2533724.zip |
ring-buffer: Always inline rb_event_data()
The rb_event_data() is the fast path of getting the ring buffer data from an
event. Externally, ring_buffer_event_data() is used to access this function.
But unfortunately, rb_event_data() is not inlined, and calling
ring_buffer_event_data() causes that function to be called again. Force
rb_event_data() to be inlined to lower the number of operations needed when
calling ring_buffer_event_data().
Link: http://lkml.kernel.org/r/20161121183700.GW26852@two.firstfloor.org
Reported-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions