diff options
| author | Kui-Feng Lee <[email protected]> | 2023-03-22 20:24:03 -0700 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2023-03-22 22:53:02 -0700 |
| commit | 912dd4b0c2a50a839301520badb241f36664ae07 (patch) | |
| tree | 389be76c86c3de80341b8bf7678b213194c98744 /tools/perf/scripts/python | |
| parent | aef56f2e918bf8fc8de25f0b36e8c2aba44116ec (diff) | |
libbpf: Update a bpf_link with another struct_ops.
Introduce bpf_link__update_map(), which allows to atomically update
underlying struct_ops implementation for given struct_ops BPF link.
Also add old_map_fd to struct bpf_link_update_opts to handle
BPF_F_REPLACE feature.
Signed-off-by: Kui-Feng Lee <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions