diff options
| author | Kui-Feng Lee <[email protected]> | 2022-05-10 13:59:19 -0700 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-05-10 17:50:40 -0700 |
| commit | f7e0beaf39d3868dc700d4954b26cf8443c5d423 (patch) | |
| tree | 61ebf37dc2ffb763514ea1d9314bb915e6ca6618 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | cb411545309e69753bfa4805060c17faaa25500d (diff) | |
bpf, x86: Generate trampolines from bpf_tramp_links
Replace struct bpf_tramp_progs with struct bpf_tramp_links to collect
struct bpf_tramp_link(s) for a trampoline. struct bpf_tramp_link
extends bpf_link to act as a linked list node.
arch_prepare_bpf_trampoline() accepts a struct bpf_tramp_links to
collects all bpf_tramp_link(s) that a trampoline should call.
Change BPF trampoline and bpf_struct_ops to pass bpf_tramp_links
instead of bpf_tramp_progs.
Signed-off-by: Kui-Feng Lee <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions