diff options
| author | Yonghong Song <[email protected]> | 2020-07-20 09:34:03 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-07-21 13:26:26 -0700 |
| commit | 951cf368bcb11d6f817709660cf5cd914072c36f (patch) | |
| tree | 521419b293f6fd3b2e1d201bbb4ca49f9e9e5ce5 /tools/perf/scripts/python/bin | |
| parent | fce557bcef119a1bc5ab3cb02678cf454bcaf424 (diff) | |
bpf: net: Use precomputed btf_id for bpf iterators
One additional field btf_id is added to struct
bpf_ctx_arg_aux to store the precomputed btf_ids.
The btf_id is computed at build time with
BTF_ID_LIST or BTF_ID_LIST_GLOBAL macro definitions.
All existing bpf iterators are changed to used
pre-compute btf_ids.
Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions