diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2021-02-09 19:36:26 -0800 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-02-11 16:17:50 +0100 |
| commit | 700d4796ef59f5faf240d307839bd419e2b6bdff (patch) | |
| tree | dc3d98f6691576479f2b727ce0d9ce7726b33ad7 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | bpf_lru_list: Read double-checked variable once without lock (diff) | |
| download | linux-700d4796ef59f5faf240d307839bd419e2b6bdff.tar.gz linux-700d4796ef59f5faf240d307839bd419e2b6bdff.zip | |
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
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
