commit | 700d4796ef59f5faf240d307839bd419e2b6bdff | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@kernel.org> | Tue Feb 09 19:36:26 2021 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Feb 11 16:17:50 2021 +0100 |
tree | dc3d98f6691576479f2b727ce0d9ce7726b33ad7 | |
parent | 6df8fb83301d68ea0a0c0e1cbcc790fcc333ed12 [diff] |
bpf: Optimize program stats Move bpf_prog_stats from prog->aux into prog to avoid one extra load in critical path of program execution. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210210033634.62081-2-alexei.starovoitov@gmail.com