diff options
| author | KP Singh <[email protected]> | 2020-03-04 20:18:47 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-03-04 13:41:05 -0800 |
| commit | 88fd9e5352fe05f7fe57778293aebd4cd106960b (patch) | |
| tree | a8bc1ce304a0f7e5594666995fe5d3863dbda3e5 /tools/perf/scripts/python/compaction-times.py | |
| parent | cc6fa771024ffdb428bdf25a94309cf21e8ef1b9 (diff) | |
bpf: Refactor trampoline update code
As we need to introduce a third type of attachment for trampolines, the
flattened signature of arch_prepare_bpf_trampoline gets even more
complicated.
Refactor the prog and count argument to arch_prepare_bpf_trampoline to
use bpf_tramp_progs to simplify the addition and accounting for new
attachment types.
Signed-off-by: KP Singh <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions