Messages in this thread | | | Date | Thu, 7 Apr 2016 22:58:00 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH v2 net-next 03/10] perf: split perf_trace_buf_prepare into alloc and update parts |
| |
On Wed, Apr 06, 2016 at 06:43:24PM -0700, Alexei Starovoitov wrote: > split allows to move expensive update of 'struct trace_entry' to later phase. > Repurpose unused 1st argument of perf_tp_event() to indicate event type. > > While splitting use temp variable 'rctx' instead of '*rctx' to avoid > unnecessary loads done by the compiler due to -fno-strict-aliasing > > Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
| |