diff options
| author | Alexei Starovoitov <ast@fb.com> | 2016-04-06 18:43:24 -0700 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:50:03 +0300 |
| commit | 538fc7a1e7a31858f9b43afa4805378502d47054 (patch) | |
| tree | 040ccacd6afa6d0af980c38e76a5e4f72f45a52c /kernel/bpf/stackmap.c | |
| parent | dea3c5c4bc5061e708f9638302aebbd58618a6e0 (diff) | |
perf: split perf_trace_buf_prepare into alloc and update parts
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions
